Notification when full power

3

Is there a way I can get a notification to appear when my battery on my laptop is at 100%. I have a Surface Pro 3 with windows 8.1. I am needing to know this so i can unplug the charger when it is fully charges and so i do not wear out the battery.

random10101010

Posted 2015-06-29T05:23:48.357

Reputation: 133

This question is not about computer hardware or software, within the scope defined in the help center. To be more specific: SuperUser is not about electronic devices, media players, cell phones or smart phones, except insofar as they interface with your computer, – LPChip – 2015-06-29T07:27:45.450

@LPChip Allow appropriate tablet questions suggests the communiity has voted for appropriate table questions to be on topic. Perhaps you should raise this on meta for an update?

– DavidPostill – 2015-06-29T07:36:36.547

You want a notification... this means you have to see the screen. If you can see the screen, why not look at the power icon to see? – Dave – 2015-06-29T07:52:04.770

1@DavidPostill ah thanks. Was unaware of this. That decision was made before I became active on SU. Replied a comment there. – LPChip – 2015-06-29T08:01:07.347

1@LPChip I would raise a new meta question ... as the linked one is so old. And I don't think a comment is enough to bump the question. You can of course undo your close vote. – DavidPostill – 2015-06-29T08:04:07.930

@LPChip I wasn't aware of it either. I just thought I would double check and sreach meta ;) – DavidPostill – 2015-06-29T08:08:00.307

@DavidPostill ah, good call. Yeah, maybe a new meta question would work. I'm not really active on meta though. – LPChip – 2015-06-29T08:23:27.233

Answers

1

Is there a to get a notification when a laptop battery is 100% charged?

The script below should do what you want with some appropriate tweaking.

Save below as battery.vbs and put a shortcut to "wscript path-to\battery.vbs" in your startup folder.

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

Source Get an alert when my battery reaches 95%

DavidPostill

Posted 2015-06-29T05:23:48.357

Reputation: 118 938

Whilst this doesn't mean the user can just walk away (they have to be there when the alert is, which defeats the point really as they can see the charge level) I think this is probably the best answer. OP does say they want a notification which is... odd +1 – Dave – 2015-06-29T07:51:19.627

0

I think David's answer answers your question, but, I'll provide some additional information as I believe this to be relevant and useful.

Lenovo have some software which does what I think you want, called Energy Management.

The recent version allows you to

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”.

Source

There is a review of an older version working with the Surface 2 which suggests it will work with the Surface 3

However, this post on SuperUser suggests other wise (again for Surface Pro) - How can I limit battery charging on a Surface Pro (2) or Windows 8(.1)?

Dave

Posted 2015-06-29T05:23:48.357

Reputation: 24 199