Power supply and lithium battery circuit diagram