Partager via


Battery Drivers (Compact 7)

3/12/2014

A battery driver provides other components of the OS with information about the power level of the main battery, the backup battery, and AC power supply of a hardware platform.

To add this feature to your OS, see Battery Driver Catalog Items and Sysgen Variables.

For reference information, see Battery Driver Reference.

Source code for this driver is available at %_WINCEROOT%\Public\Common\OAK\Drivers\BATTDRVR.

Sample driver code is available at %_WINCEROOT%\platform\iMX313DS\SRC\DRIVERS\BATTDRVR\MC13783.

Use the battdrvr sysgen target to link these drivers.

When you develop a battery driver, locate it in %_WINCEROOT%\Public\Common\OAK\Drivers\BATTDRVR.

See Also

Other Resources

Device Drivers