Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pro/battery-monitor
PowerShell script to log current battery status of your PC
https://github.com/pro/battery-monitor
Last synced: 2 days ago
JSON representation
PowerShell script to log current battery status of your PC
- Host: GitHub
- URL: https://github.com/pro/battery-monitor
- Owner: Pro
- Created: 2013-05-14T09:50:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-24T15:46:17.000Z (over 11 years ago)
- Last Synced: 2023-03-12T08:28:19.498Z (almost 2 years ago)
- Language: PowerShell
- Size: 109 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
battery-monitor
===============PowerShell script to log current battery status of your PC.
This script can be used on your laptop or Windows Server to log current battery level in the EventLog.
If you use it on Windows Server, the UPS should be recognized as a battery. For APC UPS you have to uninstall and remove all previously installed drivers. This will install the default Windows driver which recognizes the UPS as a Battery.You can even modify this script to execute special actions on Power change (Battery -> AC -> Battery).
# Installation
Simply download the script and execute it as an Administrator.
This should create the "BatteryMonitor" EventLog under Application- and Serviceprotocols.To start the script at startup you can put it into Autostart or Taskplanner.