Home
last modified time | relevance | path

Searched refs:BatteryLifePercent (Results 1 – 4 of 4) sorted by relevance

/reactos/dll/win32/kernel32/client/
H A Dpower.c48 PowerStatus->BatteryLifePercent = BATTERY_PERCENTAGE_UNKNOWN; in GetSystemPowerStatus()
57 PowerStatus->BatteryLifePercent = (UCHAR)((100 * Current + Max / 2) / Max); in GetSystemPowerStatus()
61 PowerStatus->BatteryLifePercent = 100; in GetSystemPowerStatus()
64 if (PowerStatus->BatteryLifePercent <= 4) in GetSystemPowerStatus()
67 if (PowerStatus->BatteryLifePercent <= 32) in GetSystemPowerStatus()
70 if (PowerStatus->BatteryLifePercent >= 67) in GetSystemPowerStatus()
/reactos/dll/shellext/stobject/
H A Dpower.cpp93 (PowerStatus.BatteryLifePercent == BATTERY_PERCENTAGE_UNKNOWN)) in DynamicLoadIcon()
101 index = Quantize(PowerStatus.BatteryLifePercent); in DynamicLoadIcon()
103 g_strTooltip.Format(IDS_PWR_CHARGING, PowerStatus.BatteryLifePercent); in DynamicLoadIcon()
108 index = Quantize(PowerStatus.BatteryLifePercent); in DynamicLoadIcon()
110 g_strTooltip.Format(IDS_PWR_PERCENT_REMAINING, PowerStatus.BatteryLifePercent); in DynamicLoadIcon()
/reactos/modules/rostests/winetests/kernel32/
H A Dgenerated.c1751 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, BatteryLifePercent, 1) in test_pack_SYSTEM_POWER_STATUS()
1752 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, BatteryLifePercent, 1) in test_pack_SYSTEM_POWER_STATUS()
1753 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, BatteryLifePercent, 2) in test_pack_SYSTEM_POWER_STATUS()
3608 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, BatteryLifePercent, 1) in test_pack_SYSTEM_POWER_STATUS()
3609 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, BatteryLifePercent, 1) in test_pack_SYSTEM_POWER_STATUS()
3610 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, BatteryLifePercent, 2) in test_pack_SYSTEM_POWER_STATUS()
/reactos/sdk/include/psdk/
H A Dwinbase.h1212 BYTE BatteryLifePercent; member