Sample Battery Driver

The battery driver provides information about the power level of the battery supply of a platform. The battery driver reports main battery status and backup battery status, assuming that a platform has both. The battery driver is statically linked to GWES, so it does not exist as a DLL. The battery driver sample code is under \Platform\ODO\GWE\Battery.

The battery driver is a monolithic driver, and hence uses only DDI functions. The following table shows the DDI functions for the battery driver.

BatteryDrvrGetLevels
BatteryDrvrGetStatus
BatteryDrvrSupportsChangeNotification