How to display battery energy in energy storage