如何在mfc中将关键字_如何在Windows 7中将关键电池电量降低到1%

如何在mfc中将关键字_如何在Windows 7中将关键电池电量降低到1%

如何在mfc中将关键字

如何在mfc中将关键字_如何在Windows 7中将关键电池电量降低到1%

With specific hardware configurations, Windows refuses to let you change the Critical Battery Level below a specific point. If you’ve got a big battery, this prevents you from using every last bit of juice. Thankfully, there are two easy workarounds.

对于特定的硬件配置,Windows拒绝让您在特定点以下更改关键电池电量。 如果您的电池电量很大,这将使您无法使用果汁的最后一点。 幸运的是,有两个简单的解决方法。

We’ve already shown you How To Tweak the Low Battery Action on Your Windows 7 Laptop, but Windows can be stubborn. On my particular laptop, it won’t let me set the critical battery level to anything below 5%; it changes back to 5% as soon as I click something else. On my netbook, that’s close to 20 minutes I’m missing out on, and it takes less than 30 seconds to hibernate so I know I would be fine with 1%. Depending on your specific hardware this number may be different, or you may be lucky and not have this problem at all; it appears that many Macbooks running Windows 7 don’t have this issue. If you’re like me, however, there are two solutions you can choose from: one that’s easy and another that’s slightly more involved.

我们已经向您展示了如何调整Windows 7笔记本电脑上的低电量操作 ,但是Windows可能很固执。 在我的特定笔记本电脑上,它不允许我将电池电量严重低于5%。 点击其他按钮后,它会变回5%。 在我的上网本上,我错过了将近20分钟的时间,并且Hibernate时间少于30秒,所以我知道1%会没事的。 根据您的特定硬件,此数字可能有所不同,或者您可能很幸运,根本没有这个问题。 看来许多运行Windows 7的Macbook都没有此问题。 但是,如果您像我一样,可以选择两种解决方案:一种很简单,另一种则涉及更多。

拉电池 (Pull the Battery)

Plug in your laptop so that it’s drawing power from the wall. You can pull the battery on the live system this way without any problems. Once the battery is removed, you should be able to change the critical battery level like normal, only this time your settings won’t change back. When you’re done, just put the battery back in.

插入笔记本电脑,以便从墙上汲取能量。 您可以通过这种方式拉动实时系统上的电池,而不会出现任何问题。 取出电池后,您应该能够像正常情况一样更改关键电池电量 ,只有这次您的设置才不会变回来。 完成后,只需放回电池即可。

如何在mfc中将关键字_如何在Windows 7中将关键电池电量降低到1%

This doesn’t appear to work on all systems. If you tried this and it didn’t work, the next solution will.

这似乎不适用于所有系统。 如果您尝试了此操作,但没有成功,则下一个解决方案将可用。

使用Powercfg.exe (Use Powercfg.exe)

If your laptop doesn’t have a user-replaceable battery, or for whatever reason you can’t remove the battery while the system is on, you’re not out of hope yet. We can set the lower percentage manually using the command-line utility Powercfg.exe, so go to Start > All Programs > Accessories > Command Prompt.

如果您的笔记本电脑没有用户可更换的电池,或者由于某种原因您无法在系统开机时取出电池,那么您就还没有希望。 我们可以使用命令行实用程序Powercfg.exe手动设置较低的百分比,因此请转到“开始”>“所有程序”>“附件”>“命令提示符”。

First, we need the GUID of your power scheme. Input the following command:

首先,我们需要您的电源使用方案的GUID。 输入以下命令:

powercfg.exe –l

powercfg.exe –l

That’s an ‘l’ as in “list,” which is what powercfg will do.

这是“列表”中的“ l”,这是powercfg会执行的操作。

如何在mfc中将关键字_如何在Windows 7中将关键电池电量降低到1%

Your currently active power plan will be marked with an asterisk. I only ever use the first one, but if you switch power plans, you’ll need to go through this process for each one. Find the one you want to change in the list, right-click, and select “Mark.” Now you can select the long alphanumeric string with your mouse cursor, and then hit the Enter key to copy it. You should paste this in a notepad window, because we’ve got more to copy.

您当前有效的电源计划将标有星号。 我只使用第一个,但是如果您切换电源计划,则每个步骤都需要经过此过程。 在列表中找到要更改的名称,右键单击,然后选择“标记”。 现在,您可以使用鼠标光标选择长字母数字字符串,然后按Enter键将其复制。 您应该将其粘贴在记事本窗口中,因为我们还有更多要复制的内容。

Next, we need the GUID of the subgroup and the setting we’re looking to change. Run the following command and replace “[SCHEME_GUID]” with what you just copied.

接下来,我们需要子组的GUID和我们要更改的设置。 运行以下命令,并将“ [SCHEME_GUID]”替换为您刚刚复制的内容。

powercfg.exe –q [SCHEME_GUID]

powercfg.exe –q [SCHEME_GUID]

You’ll get a low of text in the command prompt. Scroll through it and look for “Critical battery level.” First you need to copy the long alphanumeric string that belongs to the subgroup “Battery,” which you can find a short ways above “Critical battery level.” Paste that in your notepad window. You’ll next need to copy the GUID for the setting, which is right next to “Critical Battery level.” The following screenshot highlights the section to look for in red and the two GUIDs you need to copy in cyan.

您将在命令提示符下看到少量文本。 滚动浏览并查找“电池电量严重不足”。 首先,您需要复制属于“电池”子组的长字母数字字符串,您可以在“关键电池电量”以上找到一些简短的方法。 将其粘贴到记事本窗口中。 接下来,您需要复制该设置的GUID,该设置位于“关键电池电量”旁边。 下面的屏幕截图突出显示了要查找的部分,红色部分以及需要复制的两个GUID部分均用青色显示。

如何在mfc中将关键字_如何在Windows 7中将关键电池电量降低到1%

Now we have all of the pieces we need to build our command:

现在,我们拥有构建命令所需的所有部分:

powercfg.exe –setdcvalueindex [SCHEME_GUID] [SUBGROUP_GUID] [SETTING_GUID] [VALUE]

powercfg.exe –setdcvalueindex [SCHEME_GUID] [SUBGROUP_GUID] [SETTING_GUID] [VALUE]

Fill in the Scheme, Subgroup, and Setting GUIDS from your notepad window and replace “[VALUE]” with your desired percentage. Hit the Enter key to set it. Here’s the command I used for my particular needs:

在记事本窗口中填写“方案”,“子组”和“设置GUIDS”,然后将“ [VALUE]”替换为所需的百分比。 点击Enter键进行设置。 这是我用于特殊需要的命令:

powercfg.exe -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469 1

powercfg.exe -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e e73a048d-bf27-4f12-9731-8b2076e8891f 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469 1

This will set my critical battery level when on battery power to 1%. If you want to also change the setting for when you’re on AC power as well, just hit the Up key in the command prompt (to bring up your previous command) and change the

当将电池电量设为1%时,这会将我的临界电池电量设置为。 如果您还想更改交流电源的设置,只需在命令提示符下按向上键(以调出上一个命令)并更改

-setdcvalueindex

-setdcvalueindex

option to:

可以选择:

-setacvalueindex

-setacvalueindex

That’s it! Now you can squeeze every last possible minute out of your battery, whether Windows wants you to or not!

而已! 现在,无论Windows是否愿意,您都可以从电池中抽出最后一分钟!

翻译自: https://www.howtogeek.com/58109/how-to-lower-the-critical-battery-level-to-1-in-windows-7/

如何在mfc中将关键字