battery: Support persistent battery level

Store battery level when read, and use the level from storage
when connecting, to reduce GATT traffic.