hwrmpowerstatesdkpskeys.h File Reference

KPSUidHWRMPowerState

const TUidKPSUidHWRMPowerState

P&S UID for all power state information keys provided by this API.

KHWRMBatteryLevel

const TUint32KHWRMBatteryLevel

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

Enum EPSHWRMBatteryLevel

Battery level of device. Can be related to the number of battery bars displayed by the device.

EnumeratorValueDescription
EBatteryLevelUnknown-1

Uninitialized or some other error

EBatteryLevelLevel00

Battery level 0. The lowest battery level.

EBatteryLevelLevel11

Battery level 1.

EBatteryLevelLevel22

Battery level 2.

EBatteryLevelLevel33

Battery level 3.

EBatteryLevelLevel44

Battery level 4.

EBatteryLevelLevel55

Battery level 5.

EBatteryLevelLevel66

Battery level 6.

EBatteryLevelLevel77

Battery level 7. The highest battery level.

KHWRMBatteryStatus

const TUint32KHWRMBatteryStatus

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

KHWRMExtendedBatteryStatus

const TUint32KHWRMExtendedBatteryStatus

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

Enum EPSHWRMBatteryStatus

Battery status of device.

EnumeratorValueDescription
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

EBatteryStatusOk0

This can also be used during charging

EBatteryStatusLow1

Show note to user "Battery low"

EBatteryStatusEmpty2

Show "recharge battery" note to user

EBatteryStatusFakePowerLimit3

Notification for fake power off limit

KHWRMChargingStatus

const TUint32KHWRMChargingStatus

Charging status of device. This property is updated only when charging status changes.

See also: EPSHWRMChargingStatus

KHWRMExtendedChargingStatus

const TUint32KHWRMExtendedChargingStatus

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

Enum EPSHWRMChargingStatus

Charging status of device.

EnumeratorValueDescription
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

EChargingStatusNotConnected0

Charger not connected/uninitialized

EChargingStatusCharging1

Device is charging

EChargingStatusNotCharging2

Charger is connected, device not charging

EChargingStatusAlmostComplete3

Charging almost completed

EChargingStatusChargingComplete4

Charging completed

EChargingStatusChargingContinued5

Charging continued after brief interruption