充满电时通知

充满电时通知

有没有办法让我在笔记本电脑电池电量达到 100% 时收到通知?我有一台装有 Windows 8.1 的 Surface Pro 3。我需要知道这一点,这样我就可以拔下充电器,当它充满电时,我就不会耗尽电池。

答案1

当笔记本电脑电池充电至 100% 时,是否可以收到通知?

下面的脚本经过适当的调整应该可以完成您想要的操作。

将以下内容保存为 battery.vbs,并在启动文件夹中放置“wscript path-to\battery.vbs”的快捷方式。

set oLocator = CreateObject("WbemScripting.SWbemLocator")
set oServices = oLocator.ConnectServer(".","root\wmi")
set oResults = oServices.ExecQuery("select * from batteryfullchargedcapacity")
for each oResult in oResults
   iFull = oResult.FullChargedCapacity
next

while (1)
  set oResults = oServices.ExecQuery("select * from batterystatus")
  for each oResult in oResults
    iRemaining = oResult.RemainingCapacity
    bCharging = oResult.Charging
  next
  iPercent = ((iRemaining / iFull) * 100) mod 100
  if bCharging and (iPercent > 95) Then msgbox "Battery is at " & iPercent & "%",vbInformation, "Battery monitor"
  wscript.sleep 30000 ' 5 minutes
wend

来源当电池电量达到 95% 时收到警报

答案2

我认为大卫的回答回答了你的问题,但是,我会提供一些额外的信息,因为我认为这是相关且有用的。

联想有一些软件可以满足你的要求,叫做能源管理。

最新版本允许您

STATEMENT DESCRIPTION:

Comparing with the previous versions, Lenovo Energy Management 6.0 has been improved with the following new features:

1. Add “Battery Level” in Battery Information.

2. Redefine “Battery Health”.

    (1) Change limited capacity of “Best battery heath” to 45%~50% from 80%;

    (2) Detect battery status by hardware automatically;

    (3) Pop up a hint box to suggest users to switch the mode;

3. Add hint when using unauthorized battery.

4. Remove the scheme of “Power Saver”.

5. Remove “Advanced Settings” of “Super Energy Saver”.

来源

有一个审查旧版本适用于 Surface 2,这表明它将适用于 Surface 3

然而,SuperUser 上的这篇文章提出了其他建议(同样针对 Surface Pro)-如何限制 Surface Pro (2) 或 Windows 8(.1) 上的电池充电?

相关内容