VirtualBox

Changeset 14087 in vbox for trunk/src/VBox/Main/win


Ignore:
Timestamp:
Nov 11, 2008 12:09:45 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39146
Message:

More logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/HostPowerWin.cpp

    r13683 r14087  
    157157                    SYSTEM_POWER_STATUS SystemPowerStatus;
    158158
     159                    Log(("PBT_APMPOWERSTATUSCHANGE\n"));
    159160                    if (GetSystemPowerStatus(&SystemPowerStatus) == TRUE)
    160161                    {
     162                        Log(("PBT_APMPOWERSTATUSCHANGE ACLineStatus=%d BatteryFlag=%d\n", SystemPowerStatus.ACLineStatus, SystemPowerStatus.BatteryFlag));
     163
    161164                        /* If the machine has less than 5% battery left (and is not connected to the AC), then we should save the state. */
    162165                        if (   SystemPowerStatus.ACLineStatus == 0      /* offline */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette