mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 11:33:31 +08: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 |
||
---|---|---|
.. | ||
acppage | ||
cryptext | ||
deskadp | ||
deskmon | ||
devcpux | ||
fontext | ||
mydocs | ||
netplwiz | ||
netshell | ||
ntobjshex | ||
sendmail | ||
shellbtrfs | ||
stobject | ||
zipfldr | ||
CMakeLists.txt |