singleton BatteryState 1.0 BatteryState.qml