00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef HWRMPOWERSTATESDKPSKEYS_H
00023 #define HWRMPOWERSTATESDKPSKEYS_H
00024
00025
00026 #include <e32std.h>
00027
00050 const TUid KPSUidHWRMPowerState = { 0x10205041 };
00051
00052
00065 const TUint32 KHWRMBatteryLevel = 0x00000001;
00066
00071 enum EPSHWRMBatteryLevel
00072 {
00073 EBatteryLevelUnknown = -1,
00074 EBatteryLevelLevel0 = 0,
00075 EBatteryLevelLevel1 = 1,
00076 EBatteryLevelLevel2 = 2,
00077 EBatteryLevelLevel3 = 3,
00078 EBatteryLevelLevel4 = 4,
00079 EBatteryLevelLevel5 = 5,
00080 EBatteryLevelLevel6 = 6,
00081 EBatteryLevelLevel7 = 7
00082 };
00083
00084
00100 const TUint32 KHWRMBatteryStatus = 0x00000002;
00101
00105 enum EPSHWRMBatteryStatus
00106 {
00107 EBatteryStatusUnknown = -1,
00108 EBatteryStatusOk = 0,
00109 EBatteryStatusLow = 1,
00110 EBatteryStatusEmpty = 2
00111 };
00112
00119 const TUint32 KHWRMChargingStatus = 0x00000003;
00120
00124 enum EPSHWRMChargingStatus
00125 {
00126 EChargingStatusError = -1,
00127 EChargingStatusNotConnected = 0,
00128 EChargingStatusCharging = 1,
00129 EChargingStatusNotCharging = 2,
00130 EChargingStatusAlmostComplete = 3,
00131 EChargingStatusChargingComplete = 4,
00132 EChargingStatusChargingContinued = 5
00133 };
00134
00135
00136
00137 #endif