Changeset 13683 in vbox
- Timestamp:
- Oct 30, 2008 5:49:17 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38647
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/win/HostPowerWin.cpp
r13682 r13683 160 160 { 161 161 /* If the machine has less than 5% battery left (and is not connected to the AC), then we should save the state. */ 162 if ( SystemPowerStatus.ACLineStatus == 0 /* offline */ 163 && SystemPowerStatus.BatteryFlag != 255 /* unknown */ 164 && (SystemPowerStatus.BatteryFlag & 4 /* critical battery status; less than 5% */)) 162 if ( SystemPowerStatus.ACLineStatus == 0 /* offline */ 163 && SystemPowerStatus.BatteryFlag == 4 /* critical battery status; less than 5% */) 165 164 { 166 165 pPowerObj->notify(HostPowerEvent_BatteryLow);
Note:
See TracChangeset
for help on using the changeset viewer.