27 Mart 2013 Çarşamba

Monitor Remaining Battery Level Using PowerShell

Power Management software on my VAIO can not limit the battery level at %80 any more. I don't know what is broken, and I have no time/will to find and repair it. As a temporary solution, I wrote a PowerShell script to alert me with a sound when;
  • the battery level fell under the specified lower limit and the laptop is discharging
  • or the battery level exceeds the specified upper limit and the laptop is still connected to AC.
In other words, this script helps me to keep battery level in the range I specified (or 40-80 by default). How it helps? You need to plug-in or unplug the cable when you hear the sound :)



Here is some screenshots :

While discharghing:


While charging:


1 yorum:

Hendrik Friedheim dedi ki...


Greetings! I know this is kinda off topic however I'd figured I'd ask. Would you be interested in trading links or maybe guest writing a blog post or vice-versa? My website addresses a lot of the same topics as yours and I believe we could greatly benefit from each other. If you're interested feel free to send me an e-mail. I look forward to hearing from you! Superb blog by the way! hotmail email sign in

WSO2 ESB + ClientAccesPolicy.xml + CrossDomain.xml

ClientAccesPolicy.xml and CrossDomain.xml files have to be found at root of your services Silverlight and Flex clients to be able to acce...