Battery Driver Functions (Compact 2013)
3/26/2014
The following table shows the battery driver functions.
Programming element |
Description |
---|---|
This function returns the number of levels that the battery driver is capable of returning in the BatteryFlag and BackupBatteryFlag members of the SYSTEM_POWER_STATUS_EX2 structure. |
|
This function indicates whether the battery driver can report whether the batteries were changed. |
|
This function retrieves the time the user changed the batteries, the amount of time they used the batteries, and the amount of time they used the batteries before replacing them. |
|
This function allows the battery PDD to perform hardware-specific cleanup. |
|
This function indicates how many battery levels are reported in the BatteryFlag and BackupBatteryFlag members of the SYSTEM_POWER_STATUS_EX2 structure filled in by BatteryPDDGetStatus. |
|
This function obtains the most current battery and power status available on the platform. It fills in the structures pointed to by its parameters. |
|
This function allows the battery PDD to perform hardware-specific initialization. |
|
This power callback performs hardware-specific processing for the battery driver. |
|
This function performs hardware-specific battery processing in a thread context following system resume. |
|
This function indicates whether the battery driver can report whether the batteries were changed. |
|
This function signature is for the battery driver custom IOCTL handler. It implements the optional PDD IOCTL interface. |