Great free code: user defined "Full" Battery warning and alarm


  1. Posts : 357
    Windows 10 Pro
       #1

    Great free code: user defined "Full" Battery warning and alarm


    The below link works PERFECTLY, exactly as "advertised" (it's free code). VERY simple if exactly followed.

    It makes a typical Windows alert sound and periodically shows a small popup indicating the battery is full and displays the % charge (I changed "full" to 79% in the code, starts alert at 80% then) .... all even when watching a streaming video full-screen. No problem to pause (if I want) or go back a few seconds, which it does anyway on some sites when re-starting the video (temp).


    FullBattery:

    Get A Full Battery Notification When Your Battery Is Full In Windows 10 - Windows Clan



    I read that bouncing charge between 40% min and 80% max limits can quadruple battery life. Windows gives low and critical limits and warnings/actions, but not full battery limits: this does!
    Last edited by Airider; 25 Sep 2019 at 12:44.
      My Computers


  2. Posts : 191
    Windows XP, 10; Knoppix [Debian] linux
       #2

    I use this "battery limiter"

    Battery limiter | robotonfire

    it works well and is configurable. It tends to use a not-insignificant amount of CPU time on low-end systems tho.
      My Computer


  3. Posts : 357
    Windows 10 Pro
    Thread Starter
       #3

    Is that so? I might then suggest to therefore permanently limit its use by discarding that "Battery Limiter"!

    I just checked with Task Manager, and the CPU use whether charging or not is less than 1% for everything in Startup, the only reference to this FullBattery.vbs program/code, and the total CPU use for the entire device -- charging or not -- using THREE open windows on the Internet, etc., is below 5%


    Great free code: user defined "Full" Battery warning and alarm-hp-elitebook-840-g3-system-specs.png
      My Computers


  4. Posts : 191
    Windows XP, 10; Knoppix [Debian] linux
       #4

    Airider said:
    Is that so? I might then suggest to therefore permanently limit its use by discarding that "Battery Limiter"!
    I just tried the vbscript and it does behave as described. It uses less CPU than the battery limiter (which can also interfere with sleep) as it is not running "all the time". Have switched on one PC and will try it out for a while.

    The best way to do this is within the PC's firmware itself so that the behavior changes to "plugged in, not charging" at some % (e.g. 90%). I have 3 Dell laptops that can implement this charging strategy in the BIOS if desired, and also have a redundant Windows program to configure it without rebooting.
      My Computer


  5. Posts : 357
    Windows 10 Pro
    Thread Starter
       #5

    That script is also shown on several other websites, but the directions in the above-posted link worked easiest for me

    I happen to dislike Entropy as well as gravity and like good solutions that work
      My Computers


  6. Posts : 745
    Windows 10/11
       #6

    I know this is an old thread, but I just recently posted a similar battery monitoring script on Stackoverflow (to help a user fix their terribly written script). The user's original script was written in VBScript and repeatedly popped up notices in a loop. I rewrote it as an HTA that has a tiny window that you can position wherever you like that provides the status and a reminder to start charging when the level is below 20% and stop charging when the level is above 80%. Of course, you can edit the script to adjust those numbers. The script is also set up to display a window with or without a caption (see comments in the code).

    I would post the code here, but because it contains HTML, the site software thinks it's under attack and blocks me.

    P.S. If anyone is interested, I can enhance the script with additional features, such as remembering it's position (e.g. if you have multiple monitors). If so, I'll give it a home on GitHub and update it there.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:30.
Find Us




Windows 10 Forums