The BatteryNotifyOfTimeChange function adjusts the elapsed time of the battery upon reset of the system clock — in real time.
void WINAPI BattyerNotifyOfTimeChange(BOOL fForward, FILETIME * pftDelta);
Header file: | Winbase.h |
Component: | Getpower |
Platforms: | H/PC |
Versions: | 1.01 and later |
The BatteryNotifyOfTimeChange function enables the accurate tracking of the batteries' life time. It should be called immediately after SetSystemTime.