Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
BatteryClassStatusNotify notifies the battery class driver of changes in battery status.
Syntax
NTSTATUS BATTERYCLASSAPI BatteryClassStatusNotify(
[in] PVOID ClassData
);
Parameters
[in] ClassData
Pointer to a battery class handle previously returned by BatteryClassInitializeDevice.
Return value
BatteryClassStatusNotify returns STATUS_SUCCESS.
Remarks
Battery miniclass drivers must call BatteryClassStatusNotify whenever any of the following occur:
- The battery goes online or offline.
- The battery's capacity becomes critically low.
- The battery's power state changes; that is, the battery starts or stops charging or discharging.
- The battery's capacity or power state deviates from the criteria set by a previous call to BatteryMiniSetStatusNotify.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | batclass.h (include Batclass.h) |
Library | Battc.lib |