mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
b0680d65fe
BatteryClassStatusNotify is used by battery miniport drivers to notify the Battery Class of a status change. This can either be a battery status change or battery tag assignation, depending on what the device extension (namely the composite battery) waits for. We do have implementation for EVENT_BATTERY_STATUS but not for EVENT_BATTERY_TAG. What happens is when BatteryClassIoctl fails to query the battery tag because it has not yet been assigned, the thread is stuck on waiting for the event object to be signaled, forever. This tipically happens when a timeout of -1 (meaning the calling thread must wait indefinitely) is supplied. The composite battery driver (COMPBATT) is responsible to signal the Battery Class when a CM (Control Method) ACPI battery receives a tag, which then this function will signal the event. CORE-18969 CORE-19452 |
||
---|---|---|
.. | ||
base | ||
battery | ||
bluetooth | ||
bus | ||
crypto | ||
filesystems | ||
filters | ||
hid | ||
input | ||
ksfilter | ||
multimedia | ||
network | ||
parallel | ||
processor | ||
sac | ||
serial | ||
setup | ||
storage | ||
usb | ||
wdm | ||
wmi | ||
CMakeLists.txt |