Controller and driving method for supplying energy to display device circuitry