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.
The following table shows the battery driver functions with a description of the purpose of each.
Programming element | Description |
---|---|
BatteryDrvrGetLevels | 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. |
BatteryDrvrSupportsChangeNotification | This function indicates whether the battery driver can report whether the batteries were changed. |
BatteryGetLifeTimeInfo | 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. |
BatteryNotifyOfTimeChange | This function adjusts times to account for the user changing the real time. |
BatteryPDDDeinitialize | This function allows the battery PDD to perform hardware-specific cleanup. |
BatteryPDDGetLevels | 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. |
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. |
BatteryPDDInitialize | This function allows the battery PDD to perform hardware-specific initialization. |
BatteryPDDPowerHandler | This power callback performs hardware-specific processing for the battery driver. |
BatteryPDDResume | This function performs hardware-specific battery processing in a thread context following system resume. |
BatteryPDDSupportsChangeNotification | This function indicates whether the battery driver can report whether the batteries were changed. |
PFN_BATTERY_PDD_IOCONTROL | This function signature is for the battery driver custom IOCTL handler. It implements the optional PDD IOCTL interface. |
Send Feedback on this topic to the authors