From 7a5c12950b67c394ea1110b59b730cf06a54e952 Mon Sep 17 00:00:00 2001 From: denes Date: Sun, 22 Jul 2018 17:46:58 +0200 Subject: [PATCH] Have a semi-decent readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 8934071..77d4d3a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # 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"