mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
07a76b3dec
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 |
||
---|---|---|
.. | ||
lang | ||
resources | ||
CMakeLists.txt | ||
csystray.cpp | ||
csystray.h | ||
hotplug.cpp | ||
mouse.cpp | ||
power.cpp | ||
precomp.h | ||
resource.h | ||
stobject.cpp | ||
stobject.rc | ||
stobject.spec | ||
volume.cpp |