Qt Mobility Reference Documentation

QML BatteryInfo Element

The BatteryInfo element allows you to receive battery change notifications from the device. More...

Detailed Description

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.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.