Your 'battery' probably bleeds off more waste than a transformer.
The regulator and rectifying devices are where energy is typically lost as heat in the process of converting alternating current and varying voltages to the precise steady direct current needed for LED room or reading lights ,and also for the many electronic toys in our homes. As much as half the total power used by your TV,VCR,computer,and stereo is lost as heat before the ICs and displays convert the power into light and sound for your enjoyment.
Switching type power converters are theoretically more efficent at the cost of increased complexity (higher design cost and single purpose use)and they can be the source of annoying high-pitched room noise,lighting flickers,and interference in the picture or sound of other devices.
TANSTAAFL =There ain't no such thing as a free lunch.