reactos/dll/shellext
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
..
acppage [ACPPAGE] Update Czech (cs-CZ) translation (#7110) 2024-07-18 18:11:53 +02:00
cryptext [CRYPTEXT] Add Czech (cs-CZ) and Slovak (sk-SK) translations (#7109) 2024-07-18 18:11:14 +02:00
deskadp [DESKADP] Improve pt-PT translation (#7121) 2024-07-18 18:14:42 +02:00
deskmon [DESKMON] Update Romanian (ro-RO) translation (#6666) 2024-05-10 22:18:18 +02:00
devcpux [TRANSLATION] Improve Italian (it-IT) translation (#6820) 2024-06-10 13:45:00 +03:00
fontext [FONTEXT] Fix CFontExt::GetDisplayNameOf for SHGDN_FORPARSING (#7134) 2024-07-11 17:18:01 +09:00
mydocs [MYDOCS] Add missing icons expected by 3rd party applications (#6576) 2024-03-06 13:56:26 +03:00
netplwiz [NETPLWIZ] Fix typos in pt-PT translation (#7122) 2024-07-18 18:15:10 +02:00
netshell [NETSHELL][SHELL32] Make NetShell PIDL format more Windows compatible (#7183) 2024-08-08 22:00:03 +02:00
ntobjshex [NTOBJSHEX] Use STDMETHOD macro and keyword override (#6566) 2024-03-05 00:34:21 +09:00
sendmail
shellbtrfs [RTL] Sync actctx.c to wine-5.18 (#6848) 2024-07-09 11:35:41 +03:00
stobject [STOBJECT] Do not report the remaining battery capacity if it is unknown 2024-08-13 14:17:04 +02:00
zipfldr [ZIPFLDR] Update Romanian (ro-RO) translation (#6744) 2024-07-16 21:28:10 +02:00
CMakeLists.txt