#include <hwrmpowerstatesdkpskeys.h>
const TUid | KPSUidHWRMPowerState |
P&S UID for all power state information keys provided by this API.
const TUint32 | KHWRMBatteryLevel |
P&S key to represent the battery level of the device. It can also be related to the number of battery bars displayed. This property is updated only when battery level changes. Valid values are defined by the enum EPSHWRMBatteryLevel and range from -1 to 7. If an error has occurred or the battery level has not yet been initialized, the enumeration value of EBatteryLevelUnknown is used. In all other cases the battery level is used with level 0 being the lowest (battery empty) and level 7 the highest (battery full).
See also: EPSHWRMBatteryLevel
const TUint32 | KHWRMBatteryStatus |
Battery status of device. This property may be updated to same status as previously, to indicate the note in question needs to be shown again.
EBatteryStatusLow update comes approximately ten times before battery is completely empty and it comes at approximately 10 minute intervals. If phone is in-call mode, update comes at approximately 1 minute intervals.
EBatteryStatusEmpty comes slightly before phone must power down automatically because of insufficient battery power.
See also: EPSHWRMBatteryStatus
const TUint32 | KHWRMChargingStatus |
Charging status of device. This property is updated only when charging status changes.
See also: EPSHWRMChargingStatus