Changeset 14087 in vbox for trunk/src/VBox/Main/win
- Timestamp:
- Nov 11, 2008 12:09:45 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39146
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/win/HostPowerWin.cpp
r13683 r14087 157 157 SYSTEM_POWER_STATUS SystemPowerStatus; 158 158 159 Log(("PBT_APMPOWERSTATUSCHANGE\n")); 159 160 if (GetSystemPowerStatus(&SystemPowerStatus) == TRUE) 160 161 { 162 Log(("PBT_APMPOWERSTATUSCHANGE ACLineStatus=%d BatteryFlag=%d\n", SystemPowerStatus.ACLineStatus, SystemPowerStatus.BatteryFlag)); 163 161 164 /* If the machine has less than 5% battery left (and is not connected to the AC), then we should save the state. */ 162 165 if ( SystemPowerStatus.ACLineStatus == 0 /* offline */
Note:
See TracChangeset
for help on using the changeset viewer.