reactos/dll
George Bișoc 07a76b3dec
[STOBJECT] Do not report the remaining battery capacity if it is unknown
Support for system batteries in ReactOS is really minimal to the point of non-existing. We are detecting the presence of any upcoming battery but since there's lacking in critical code that deals with communication
between PO and the battery class driver as the battery systray icon uses GetSystemPowerStatus to gather battery info which in turn inquires the power manager via NtPowerInformation(SystemBatteryState), we have
to report to the user that the remaining capacity is unknown rather than returning a pseudo capacity value.

Technically this so called "pesudo" value is just a construct denoted as BATTERY_PERCENTAGE_UNKNOWN. Not reporting the actual remaining capacity makes sense, as there could be a scenario where the battery may not
properly report its real datum, therefore it's best to be honest to the user what's really going on.

CORE-19452
CORE-18969
2024-08-13 14:17:04 +02:00
..
3rdparty [LIBPNG] Update to version 1.6.39. CORE-18670 2022-11-27 10:10:53 -05:00
appcompat [APPHELP] SdbGUIDToString(): use sizeof(WCHAR) instead of '2' (#7137) 2024-07-11 18:28:54 +02:00
cpl [SYSDM] Fix for Italian (it-IT) translation (#7216) 2024-08-09 22:42:50 +02:00
directx [DSOUND_NEW][HDAUDBUS] Replace meaningless YDEBUG (#5857) 2023-11-01 13:39:05 +01:00
ime [MSCTFTIME] Add Russian (ru-RU) translation 2024-07-09 18:24:17 +03:00
keyboard [REACTOS] Fix Kamil Horníček's last name again 2024-07-29 20:46:53 +03:00
nls [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
np [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
ntdll [*_VISTA] Add/Improve version resources 2024-08-13 12:39:42 +02:00
opengl [MESA] Change reported OpenGL version to 1.1.0 (#5675) 2023-09-09 22:30:44 +03:00
shellext [STOBJECT] Do not report the remaining battery capacity if it is unknown 2024-08-13 14:17:04 +02:00
win32 [*_VISTA] Add/Improve version resources 2024-08-13 12:39:42 +02:00
CMakeLists.txt Rework apisets to use a table 2024-04-27 22:51:34 +02:00