The BatteryInfo element allows you to receive battery change notifications from the device. More...
This element is part of the QtMobility.systeminfo 1.1 module. It is a convience class to make QML usage easier.
Note: To use notification signals, you need to use the start* slots.
Component.onCompleted: {
batteryinfo.startRemainingCapacityPercentChanged();
batteryinfo.startBatteryStatusChanged();
}
See also QSystemBatteryInfo.