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
Battery level of device. Can be related to the number of battery bars displayed by the device.
Enumerator | Value | Description |
---|---|---|
EBatteryLevelUnknown | -1 |
Uninitialized or some other error |
EBatteryLevelLevel0 | 0 |
Battery level 0. The lowest battery level. |
EBatteryLevelLevel1 | 1 |
Battery level 1. |
EBatteryLevelLevel2 | 2 |
Battery level 2. |
EBatteryLevelLevel3 | 3 |
Battery level 3. |
EBatteryLevelLevel4 | 4 |
Battery level 4. |
EBatteryLevelLevel5 | 5 |
Battery level 5. |
EBatteryLevelLevel6 | 6 |
Battery level 6. |
EBatteryLevelLevel7 | 7 |
Battery level 7. The highest battery level. |
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 | KHWRMExtendedBatteryStatus |
Battery status of device.
This Property is a replacement for the existing property KHWRMBatteryStatus. It is strictly recommended to use the new property by any up-coming applications. Legacy property, KHWRMBatteryStatus, will be deprecated in the very next release.
See also: EPSHWRMBatteryStatus
Battery status of device.
Enumerator | Value | Description |
---|---|---|
EBatteryStatusUnknown | -1 |
Uninitialized or some other error e.g.server not intialized |
EBatteryStatusNotSupported | -2 |
e.g. Chemistry not supported like LiFePo or general battery not supported error Show "charging not allowed" note to user |
EBatteryStatusDbiAuthFailed | -3 |
e.g. Pirated Battery with wrong DBI Chip / DBI authentication failed Show "charging not allowed" note to user |
EBatteryStatusOk | 0 |
This can also be used during charging |
EBatteryStatusLow | 1 |
Show note to user "Battery low" |
EBatteryStatusEmpty | 2 |
Show "recharge battery" note to user |
EBatteryStatusFakePowerLimit | 3 |
Notification for fake power off limit |
const TUint32 | KHWRMChargingStatus |
Charging status of device. This property is updated only when charging status changes.
See also: EPSHWRMChargingStatus
const TUint32 | KHWRMExtendedChargingStatus |
Charging status of device.
This Property is a replacement for the existing property KHWRMChargingStatus. It is strictly recommended to use the new property by any up-coming applications. Legacy property, KHWRMChargingStatus, will be deprecated in the very next release.
See also: EPSHWRMChargingStatus
Charging status of device.
Enumerator | Value | Description |
---|---|---|
EChargingStatusError | -1 |
Some error has occurred when charger is connected or charging. |
EChargingStatusIllegalChargerError | -2 |
Illegal charger is connected, device cannot charge |
EChargingStatusChargerUnderVoltageError | -3 |
Charger is under voltage, device cannot charge |
EChargingStatusChargerOverVoltageError | -4 |
Charger is over voltage, device cannot charge |
EChargingStatusTempTooHotError | -5 |
Wait for battery temperature to normalize before charging to proceed |
EChargingStatusTempTooColdError | -6 |
Wait for battery temperature to normalize for charging |
EChargingStatusNotConnected | 0 |
Charger not connected/uninitialized |
EChargingStatusCharging | 1 |
Device is charging |
EChargingStatusNotCharging | 2 |
Charger is connected, device not charging |
EChargingStatusAlmostComplete | 3 |
Charging almost completed |
EChargingStatusChargingComplete | 4 |
Charging completed |
EChargingStatusChargingContinued | 5 |
Charging continued after brief interruption |