Battery (low/critical) status indication by making a (the capslock) LED blink
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
denes acb56d8909
Refactoring
7 years ago
app-misc/battery_status_led Fixing ebuild dodoc line 7 years ago
LICENSE Rearranging files paths 7 years ago
README.md Adding manual install notes on gentoo 7 years ago
battery_status_led.service Adding WantedBy=multi-user.target, let's see... 7 years ago
battery_status_led.sh Refactoring 7 years ago

README.md

battery_status_led

Battery (low/critical) status indication by making a (the capslock) LED blink

Make sure you have your laptop's ACPI module compiled into your kernel: Device Drivers > X86 Platform Specific Device Drivers For example: Asus laptop extras, ThinkPad ACPI Laptop Extras, etc.

Start it as root user: /usr/bin/battery_status_led.sh

Or with systemd: systemctl start battery_status_led systemctl enable battery_status_led

The LED device can be changed by editing the systemd service file's line: Environment="BATTERY_STATUS_LED_DEV=/sys/class/leds/input4::capslock"

Manual install on gentoo: cd DIR git clone https://github.com/dmatetelki/battery_status_led cd /usr/local/portage/app-misc/ ln -s DIR/battery_status_led/app-misc/battery_status_led battery_status_led ebuild battery_status_led-0.1.ebuild digest emerge battery_status_led