none
Cannot change Critical Battery level- stuck at 98%

    Question

  • I've searched google and several forums, but can't seem to find this particular problem posted anywhere.

    I've got my desktop plugged into an APC Backups 550 ES.  I had a power dip the other day and my computer immediately went into hibernate mode.  Normally, I get 5-10 minutes before that happens.  After waking the machine up, I checked the advanced power settings.  Low Battery level was set to 99% with an action of 'Do Nothing'  Critical Battery level was set to 98% with an action of 'Hibernate' (these are the 'On Battery' settings) .  These are normally a low number like 5-10%.

    I can change the value of the Low Battery setting, but not the critical battery setting.  I put in a new value, but it is immediately changed back to 98% when I hit apply.

    Has anyone else seen or heard of this issue?  I've tried creating a custom power profile, but get the same problem.  No new hardware has been added and this feature was fine on Vista x64. 

    Here's some specs:

    Windows 7 x64 RC build 7100 (clean install)
    Intel E8200
    4 GB ram

    Thanks
    Friday, May 15, 2009 3:13 PM

Answers

  • It sounds as though Windows 7 is misreading the functionality of your UPS devices. Because these don't normally install driver software within Windows, I doubt that there's much that APC could do if alerted to the issue, and I'd instead recommend posting this to our comments thread where it has a better chance of being considered by the developers prior to Windows 7's release.

    -Alex
    Monday, June 22, 2009 3:11 PM

All replies

  • That's very strange. Duplicating and changing different power profiles doesn't work? Have you done more research into your problem? Do you still need help?

    -Nick
    Friday, June 19, 2009 3:21 PM
  • I'm also having this problem with Windows 7 build 7100.
    I didn't have this problem with Vista at all. It's kind of ironic how they have the default set to 98%. Most battery's conditions are hardly 98% ever. So any under voltage or power off causes it to hibernate. I'm about to unplug the USB from my UPS so it doesn't shut down my blasted computer every time there's under voltage.
    Monday, June 22, 2009 12:34 PM
  • It sounds as though Windows 7 is misreading the functionality of your UPS devices. Because these don't normally install driver software within Windows, I doubt that there's much that APC could do if alerted to the issue, and I'd instead recommend posting this to our comments thread where it has a better chance of being considered by the developers prior to Windows 7's release.

    -Alex
    Monday, June 22, 2009 3:11 PM
  • I'm also having this problem with Windows 7 build 7100.
    I didn't have this problem with Vista at all. It's kind of ironic how they have the default set to 98%. Most battery's conditions are hardly 98% ever. So any under voltage or power off causes it to hibernate. I'm about to unplug the USB from my UPS so it doesn't shut down my blasted computer every time there's under voltage.

    I, too, am having the EXACT SAME PROBLEM and I've looked and looked for a solution. Last week I found a reference to running POWERCFG.EXE from an Elevated Command Prompt (run as administrator), and that DID fix the issue, however after I re-installed Win 7 x64 releas 7100, no bueno. And to top things off, I neglected to get the powerfg.exe parameters copied down, so I can't duplicate the fix.
    Saturday, October 3, 2009 3:56 PM
  • I had the same problem. Again.

    I tried changing the power plan, creating a new one, reinstalling the UPS, etc, etc.

    I found out is something related with permissions in the registry. For some reason, they get screwed up.

    This is what I did to fix it. I don't take any responsability, of course. ;)

    1. Go to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes
    2. Edit the permissions for HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes. Go to Advanced -> Owner, and check "Replace owner on subcontainers and objects". Click ok.
    3. Go to Advanced again, check "Replace all child object permissions with inheritable permissions from this object". Click ok.
    4. Now you should be able to change the values without problem from Power Options.

    Cheers.
    Friday, January 1, 2010 7:51 PM
  • I highly doubt that. I had the same problem, and the workaround involves finding out the unique string of guids to be typed into the command line, in a format like this:

    powercfg.exe
    -setdcvalueindex
    8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
    e73a048d-bf27-4f12-9731-8b2076e8891f
    9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469
    20

    The actual way of obtaining the actual string you need to type for your system involves learning to read the output of powercfg.exe /QUERY, then you pick out the guids you need to set, and compose a string like the one above.  This must all be run from a command prompt with elevated priveleges (click on the start button, type command, right click on the command prompt startup-shortcut, and Run As Administrator).


    wp
    • Proposed as answer by Liero Saturday, October 9, 2010 4:18 PM
    Tuesday, January 12, 2010 2:47 PM
  • That registry permission thing seems reasonable, but it didn't work for me. I needed to use powercfg.exe

    wp
    Tuesday, January 12, 2010 2:48 PM
  • I had to use powercfg.exe method as well. This 98% issue is major flaw for those of us using UPS. If I wanted computer to turn off on every power sag, I would not have UPS to begin with!
    • Edited by soylentgeek Thursday, February 18, 2010 1:35 PM spelling
    • Proposed as answer by SunSeraph Wednesday, March 31, 2010 1:59 AM
    Thursday, February 18, 2010 1:34 PM
  • I had the same problem as well with my new APC UPS, but Windows 7 was ignoring the setting I set with powercfg.  Even though the Critical Battery Level was forced to 33% and Critical Battery Action was forced to "Do Nothing" with powercfg, the system was still shutting down as soon as a power sag occured and the UPS to switch to battery mode.  Often the shutdown was started while the battery was still reporting 100%, 2% more then the 98% it was stuck at.

    For me it appears as if the issue is a result of using PowerChute while still using the "HID UPS Battery" driver instead of the "APC Battery BackUP" driver that is provided with PowerChute.  The "APC Battery BackUP" driver disables WMI (Win32_battery) access for some applications that I use.   When I rolled back to the "HID UPS Battery" driver, PowerChute complained several times that it was unable to communicate with the battery, and I found I was unable to manually change the Critical Battery Level of 98%.  I then uninstalled PowerChute, but the damage was already done.

    I tried everything I could think of to get around this, and even opened a support ticket with APC. I gave them all the info above, but got no resolution.  Thinking it a problem with Windows 7, I attempted to reinstall Windows.  The Critical Battery Level was defaulted to 98% in the new install as well, but I was able to change it.  Though Windows 7 Power Management was still ignoring the settings, so I then figured it was something with the battery.  However, everything worked properly when PowerChute was re-installed and using the "APC Battery BackUP" driver.  When I uninstalled the PowerChute software a second time, and rolled back to the "HID UPS Battery" driver, I was once again unable to change the Critical Battery Level which had reverted back to 98% and Windows 7 was again shutting down the moment a power sag occured.

    So instead of the battery, I figured it may be a hidden setting in the UPS hardware/firmware that PowerChute set and Windows Power Management is being stubborn about.

    I was able to get it back in working order with the following steps. (follow them at your own risk)

    1. I uninstalled PowerChute and then the "APC Battery BackUP" driver that it leaves behind (ie. Uninstalled the UPS device from Device Manager with the delete driver option checked)

    2. Scanned for Hardware changes and ensured the UPS was using the Windows default "HID UPS Battery" driver.

    3. Turned off my PC and disconnected it from the UPS.

    4. Turned off the UPS and disconnected it from the mains power.

    5. Disconnected the battery from the UPS.

    6. Powered on the UPS while it is w/o battery and mains power. The unit powered on, switched to battery, and powered off lacking any available power, thus draining any power left stored in it's internal circuitry, and hopefully clearing any internal memory. (I left it like this for a few minutes for good measure)

    7. Reconnected the battery and all power connections.

    8. Restarted system, reset all battery levels to preferred values, tested, and found everything to be in working order.

    9. Shredded PowerChute CD, and deleted any downloads.

    I'm not sure if I'm entirely correct about my theory, but I'm not gonna mess with it any further.  Microsoft and APC need to get together on this one.

    • Proposed as answer by SunSeraph Wednesday, March 31, 2010 2:13 AM
    Wednesday, March 31, 2010 2:00 AM
  • please give a demo to that in a cmd picture show all the written words because i was unable execute the following command

    powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c e73a048d-bf27-4f12-9731-8b2076e8891f 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469 20

    please help

    Saturday, April 14, 2012 3:32 PM
  • I had the same problem as well with my new APC UPS, but Windows 7 was ignoring the setting I set with powercfg.  Even though the Critical Battery Level was forced to 33% and Critical Battery Action was forced to "Do Nothing" with powercfg, the system was still shutting down as soon as a power sag occured and the UPS to switch to battery mode.  Often the shutdown was started while the battery was still reporting 100%, 2% more then the 98% it was stuck at.

    For me it appears as if the issue is a result of using PowerChute while still using the "HID UPS Battery" driver instead of the "APC Battery BackUP" driver that is provided with PowerChute.  The "APC Battery BackUP" driver disables WMI (Win32_battery) access for some applications that I use.   When I rolled back to the "HID UPS Battery" driver, PowerChute complained several times that it was unable to communicate with the battery, and I found I was unable to manually change the Critical Battery Level of 98%.  I then uninstalled PowerChute, but the damage was already done.

    I tried everything I could think of to get around this, and even opened a support ticket with APC. I gave them all the info above, but got no resolution.  Thinking it a problem with Windows 7, I attempted to reinstall Windows.  The Critical Battery Level was defaulted to 98% in the new install as well, but I was able to change it.  Though Windows 7 Power Management was still ignoring the settings, so I then figured it was something with the battery.  However, everything worked properly when PowerChute was re-installed and using the "APC Battery BackUP" driver.  When I uninstalled the PowerChute software a second time, and rolled back to the "HID UPS Battery" driver, I was once again unable to change the Critical Battery Level which had reverted back to 98% and Windows 7 was again shutting down the moment a power sag occured.

    So instead of the battery, I figured it may be a hidden setting in the UPS hardware/firmware that PowerChute set and Windows Power Management is being stubborn about.

    I was able to get it back in working order with the following steps. (follow them at your own risk)

    1. I uninstalled PowerChute and then the "APC Battery BackUP" driver that it leaves behind (ie. Uninstalled the UPS device from Device Manager with the delete driver option checked)

    2. Scanned for Hardware changes and ensured the UPS was using the Windows default "HID UPS Battery" driver.

    3. Turned off my PC and disconnected it from the UPS.

    4. Turned off the UPS and disconnected it from the mains power.

    5. Disconnected the battery from the UPS.

    6. Powered on the UPS while it is w/o battery and mains power. The unit powered on, switched to battery, and powered off lacking any available power, thus draining any power left stored in it's internal circuitry, and hopefully clearing any internal memory. (I left it like this for a few minutes for good measure)

    7. Reconnected the battery and all power connections.

    8. Restarted system, reset all battery levels to preferred values, tested, and found everything to be in working order.

    9. Shredded PowerChute CD, and deleted any downloads.

    I'm not sure if I'm entirely correct about my theory, but I'm not gonna mess with it any further.  Microsoft and APC need to get together on this one.

    That actually works for me in Windows 2008 server as well. Thanks. 

    love the 9th point. I threw the CD into garbage. 


    • Edited by ecsw Tuesday, April 30, 2013 12:23 AM
    Tuesday, April 30, 2013 12:23 AM
  • please give a demo to that in a cmd picture show all the written words because i was unable execute the following command

    powercfg -setdcvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c e73a048d-bf27-4f12-9731-8b2076e8891f 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469 20

    please help




    Here's the explanation of the command format:

    powercfg  -setdcvalueindex  "Power Scheme GUID: <big><big>11df4429-2ec7-43d3-8c84-ff851a5c44fc </big></big>(use the GUID from the current power scheme from the control panel)" "Subgroup GUID: <big><big>e73a048d-bf27-4f12-9731-8b2076e8891f</big></big>  (Battery)" "Power Setting GUID: <big><big>9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469</big></big>  (Critical battery level)" "PercentOfDCPowerLeft"

    Here's the exact command in my example. The only difference between this command and yours is the GUID of your powerplan, especially if you use a custom power plan:

    powercfg  11df4429-2ec7-43d3-8c84-ff851a5c44fc   e73a048d-bf27-4f12-9731-8b2076e8891f    9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469   13


    It looks like the second and third parameters never change (the third one is the CRITICAL BATTERY LEVEL, which is the parameter that we are modifying, and the second one is the Battery options subgroup):

    2nd: e73a048d-bf27-4f12-9731-8b2076e8891f

    3rd: 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469  

    If you're having trouble seeing what the subgroup is and the setting under that subgroup, parameter 2 is indented one space from 1, and 3 is indented one space from 2.

    My full commands are listed below:

    C:\Users\shop>powercfg /query
    Power Scheme GUID: <big><big>11df4429-2ec7-43d3-8c84-ff851a5c44fc</big></big>  (My Power Plan)
      Subgroup GUID: fea3413e-7e05-4911-9a71-700331f1c294  (Settings belonging to no subgroup)
        Power Setting GUID: 0e796bdb-100d-47d6-a2d5-f7d2daa51f51  (Require a password on wakeup)
          Possible Setting Index: 000
          Possible Setting Friendly Name: No
          Possible Setting Index: 001
          Possible Setting Friendly Name: Yes
        Current AC Power Setting Index: 0x00000001
        Current DC Power Setting Index: 0x00000001

      Subgroup GUID: 0012ee47-9041-4b5d-9b77-535fba8b1442  (Hard disk)
        Power Setting GUID: 6738e2c4-e8a5-4a42-b16a-e040e769756e  (Turn off hard disk after)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0xffffffff
          Possible Settings increment: 0x00000001
          Possible Settings units: Seconds
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x00000258

      Subgroup GUID: 0d7dbae2-4294-402a-ba8e-26777e8488cd  (Desktop background settings)
        Power Setting GUID: 309dce9b-bef4-4119-9921-a851fb12f0f4  (Slide show)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Available
          Possible Setting Index: 001
          Possible Setting Friendly Name: Paused
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x00000001

      Subgroup GUID: 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1  (Wireless Adapter Settings)
        Power Setting GUID: 12bbebe6-58d6-4636-95bb-3217ef867c1a  (Power Saving Mode)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Maximum Performance
          Possible Setting Index: 001
          Possible Setting Friendly Name: Low Power Saving
          Possible Setting Index: 002
          Possible Setting Friendly Name: Medium Power Saving
          Possible Setting Index: 003
          Possible Setting Friendly Name: Maximum Power Saving
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x00000002

      Subgroup GUID: 238c9fa8-0aad-41ed-83f4-97be242c8f20  (Sleep)
        Power Setting GUID: 29f6c1db-86da-48c5-9fdb-f2b67b1f44da  (Sleep after)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0xffffffff
          Possible Settings increment: 0x00000001
          Possible Settings units: Seconds
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x0000012c

        Power Setting GUID: 94ac6d29-73ce-41a6-809f-6363ba21b47e  (Allow hybrid sleep)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Off
          Possible Setting Index: 001
          Possible Setting Friendly Name: On
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x00000001

        Power Setting GUID: 9d7815a6-7ee4-497e-8888-515a05f02364  (Hibernate after)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0xffffffff
          Possible Settings increment: 0x00000001
          Possible Settings units: Seconds
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x000004b0

        Power Setting GUID: bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d  (Allow wake timers)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Disable
          Possible Setting Index: 001
          Possible Setting Friendly Name: Enable
        Current AC Power Setting Index: 0x00000001
        Current DC Power Setting Index: 0x00000001

      Subgroup GUID: 2a737441-1930-4402-8d77-b2bebba308a3  (USB settings)
        Power Setting GUID: 48e6b7a6-50f5-4782-a5d4-53bb8f07e226  (USB selective suspend setting)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Disabled
          Possible Setting Index: 001
          Possible Setting Friendly Name: Enabled
        Current AC Power Setting Index: 0x00000001
        Current DC Power Setting Index: 0x00000001

      Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347  (Power buttons and lid)
        Power Setting GUID: 5ca83367-6e45-459f-a27b-476b1d01c936  (Lid close action)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Do nothing
          Possible Setting Index: 001
          Possible Setting Friendly Name: Sleep
          Possible Setting Index: 002
          Possible Setting Friendly Name: Hibernate
          Possible Setting Index: 003
          Possible Setting Friendly Name: Shut down
        Current AC Power Setting Index: 0x00000001
        Current DC Power Setting Index: 0x00000001

        Power Setting GUID: 7648efa3-dd9c-4e3e-b566-50f929386280  (Power button action)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Do nothing
          Possible Setting Index: 001
          Possible Setting Friendly Name: Sleep
          Possible Setting Index: 002
          Possible Setting Friendly Name: Hibernate
          Possible Setting Index: 003
          Possible Setting Friendly Name: Shut down
        Current AC Power Setting Index: 0x00000003
        Current DC Power Setting Index: 0x00000003

        Power Setting GUID: 96996bc0-ad50-47ec-923b-6f41874dd9eb  (Sleep button action)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Do nothing
          Possible Setting Index: 001
          Possible Setting Friendly Name: Sleep
          Possible Setting Index: 002
          Possible Setting Friendly Name: Hibernate
          Possible Setting Index: 003
          Possible Setting Friendly Name: Shut down
        Current AC Power Setting Index: 0x00000001
        Current DC Power Setting Index: 0x00000001

        Power Setting GUID: a7066653-8d6c-40a8-910e-a1f54b84c7e5  (Start menu power button)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Sleep
          Possible Setting Index: 001
          Possible Setting Friendly Name: Hibernate
          Possible Setting Index: 002
          Possible Setting Friendly Name: Shut down
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x00000000

      Subgroup GUID: 501a4d13-42af-4429-9fd1-a8218c268e20  (PCI Express)
        Power Setting GUID: ee12f906-d277-404b-b6da-e5fa1a576df5  (Link State Power Management)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Off
          Possible Setting Index: 001
          Possible Setting Friendly Name: Moderate power savings
          Possible Setting Index: 002
          Possible Setting Friendly Name: Maximum power savings
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x00000002

      Subgroup GUID: 54533251-82be-4824-96c1-47b60b740d00  (Processor power management)
        Power Setting GUID: 893dee8e-2bef-41e0-89c6-b55d0929964c  (Minimum processor state)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0x00000064
          Possible Settings increment: 0x00000001
          Possible Settings units: %
        Current AC Power Setting Index: 0x00000005
        Current DC Power Setting Index: 0x00000005

        Power Setting GUID: 94d3a615-a899-4ac5-ae2b-e4d8f634367f  (System cooling policy)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Passive
          Possible Setting Index: 001
          Possible Setting Friendly Name: Active
        Current AC Power Setting Index: 0x00000001
        Current DC Power Setting Index: 0x00000000

        Power Setting GUID: bc5038f7-23e0-4960-96da-33abaf5935ec  (Maximum processor state)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0x00000064
          Possible Settings increment: 0x00000001
          Possible Settings units: %
        Current AC Power Setting Index: 0x00000064
        Current DC Power Setting Index: 0x00000064

      Subgroup GUID: 7516b95f-f776-4464-8c53-06167f40cc99  (Display)
        Power Setting GUID: 17aaa29b-8b43-4b94-aafe-35f64daaf1ee  (Dim display after)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0xffffffff
          Possible Settings increment: 0x00000001
          Possible Settings units: Seconds
        Current AC Power Setting Index: 0x0000012c
        Current DC Power Setting Index: 0x00000078

        Power Setting GUID: 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e  (Turn off display after)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0xffffffff
          Possible Settings increment: 0x00000001
          Possible Settings units: Seconds
        Current AC Power Setting Index: 0x000004b0
        Current DC Power Setting Index: 0x0000012c

        Power Setting GUID: aded5e82-b909-4619-9949-f5d71dac0bcb  (Display brightness)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0x00000064
          Possible Settings increment: 0x00000001
          Possible Settings units: %
        Current AC Power Setting Index: 0x00000064
        Current DC Power Setting Index: 0x00000028

        Power Setting GUID: f1fbfde2-a960-4165-9f88-50667911ce96  (Dimmed display brightness)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0x00000064
          Possible Settings increment: 0x00000001
          Possible Settings units: %
        Current AC Power Setting Index: 0x0000001e
        Current DC Power Setting Index: 0x0000001e

      Subgroup GUID: 9596fb26-9850-41fd-ac3e-f7c3c00afd4b  (Multimedia settings)
        Power Setting GUID: 03680956-93bc-4294-bba6-4e0f09bb717f  (When sharing media)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Allow the computer to sleep
          Possible Setting Index: 001
          Possible Setting Friendly Name: Prevent idling to sleep
          Possible Setting Index: 002
          Possible Setting Friendly Name: Allow the computer to enter Away Mode
        Current AC Power Setting Index: 0x00000001
        Current DC Power Setting Index: 0x00000000

        Power Setting GUID: 34c7b99f-9a6d-4b3c-8dc7-b6693b78cef4  (When playing video)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Optimize video quality
          Possible Setting Index: 001
          Possible Setting Friendly Name: Balanced
          Possible Setting Index: 002
          Possible Setting Friendly Name: Optimize power savings
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x00000001

      Subgroup GUID: <big><big>e73a048d-bf27-4f12-9731-8b2076e8891f</big></big>  (Battery)
        Power Setting GUID: 637ea02f-bbcb-4015-8e2c-a1c7b9c0b546  (Critical battery action)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Do nothing
          Possible Setting Index: 001
          Possible Setting Friendly Name: Sleep
          Possible Setting Index: 002
          Possible Setting Friendly Name: Hibernate
          Possible Setting Index: 003
          Possible Setting Friendly Name: Shut down
        Current AC Power Setting Index: 0x00000002
        Current DC Power Setting Index: 0x00000002

        Power Setting GUID: 8183ba9a-e910-48da-8769-14ae6dc1170a  (Low battery level)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0x00000064
          Possible Settings increment: 0x00000001
          Possible Settings units: %
        Current AC Power Setting Index: 0x0000000a
        Current DC Power Setting Index: 0x0000000a

        Power Setting GUID: <big><big>9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469</big></big>  (Critical battery level)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0x00000064
          Possible Settings increment: 0x00000001
          Possible Settings units: %
        Current AC Power Setting Index: 0x00000005
        Current DC Power Setting Index: 0x00000005 - (5%)

        Power Setting GUID: bcded951-187b-4d05-bccc-f7e51960c258  (Low battery notification)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Off
          Possible Setting Index: 001
          Possible Setting Friendly Name: On
        Current AC Power Setting Index: 0x00000001
        Current DC Power Setting Index: 0x00000001

        Power Setting GUID: d8742dcb-3e6a-4b3c-b3fe-374623cdcf06  (Low battery action)
          Possible Setting Index: 000
          Possible Setting Friendly Name: Do nothing
          Possible Setting Index: 001
          Possible Setting Friendly Name: Sleep
          Possible Setting Index: 002
          Possible Setting Friendly Name: Hibernate
          Possible Setting Index: 003
          Possible Setting Friendly Name: Shut down
        Current AC Power Setting Index: 0x00000000
        Current DC Power Setting Index: 0x00000000

        Power Setting GUID: f3c5027d-cd16-4930-aa6b-90db844a8f00  (Reserve battery level)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0x00000064
          Possible Settings increment: 0x00000001
          Possible Settings units: %
        Current AC Power Setting Index: 0x00000007
        Current DC Power Setting Index: 0x00000007

    C:\Users\shop>powercfg -setdcvalueindex 11df4429-2ec7-43d3-8c84-ff851a5c44fc e73a048d-bf27-4f12-9731
    -8b2076e8891f 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469 13

    C:\Users\shop>powercfg /query | grep -A 8 -i "critical battery level" -
        Power Setting GUID: 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469  (Critical battery level)
          Minimum Possible Setting: 0x00000000
          Maximum Possible Setting: 0x00000064
          Possible Settings increment: 0x00000001
          Possible Settings units: %
        Current AC Power Setting Index: 0x00000005
        Current DC Power Setting Index: 0x0000000d - (13%)

    Here's the relevant output from powercfg /?

      -SETDCVALUEINDEX
                  Sets a value associated with a specified power setting
                  while the system is powered by DC power.
    
                  Usage: POWERCFG -SETDCVALUEINDEX <SCHEME_GUID> <SUB_GUID>
                                                   <SETTING_GUID> <SettingIndex>
                  <SCHEME_GUID>   Specifies a power scheme GUID and may be
                                  obtained by using PowerCfg /L.
                  <SUB_GUID>      Specifies a subgroup of power setting GUID and may
                                  be obtained by using "PowerCfg /Q."
                  <SETTING_GUID>  Specifies an individual power setting GUID and may
                                  be obtained by using "PowerCfg /Q".
                  <SettingIndex>  Specifies which of the list of possible values
                                  this setting will be set to.
    
                  Example:
                      POWERCFG -SetDcValueIndex <GUID> <GUID> <GUID> 5
                      This would set the power setting's DC value to the 5th entry
                      in the list of possible values for this power setting.


    Here's the powercfg command reference: http://technet.microsoft.com/en-us/library/cc748940%28v=ws.10%29.aspx



    Tuesday, August 12, 2014 6:04 PM