Power Notification Tool for i3 Window Manager
Power notification tool for i3 window manager.
You can configure some settings by manually editing the powernot
file.
There is 4 modes in powernot.
This mode switches handling with percentage of remaining battery.
SAFE=30
DANGER=15
CRITICAL=5
TIMER=5
CHARGING_TIMER=10
SAFE_TIMER=5
DANGER_TIMER=2
CRITICAL_TIMER=1
Every mode has different sleeping timers. You can change them by editing the powernot
file.
CRITICAL_HIBERNATE=1
Systemd's user mode can be used to autostart and run powernot
in the background.
First, create a service
file in ~/.config/systemd/user/powernot.service
. Make sure to replace USERNAME
with your actual username.
$ cat ~/.config/systemd/user/powernot.service
[Unit]
Description=powernot
[Service]
ExecStart=/home/USERNAME/git/powernot/powernot
[Install]
WantedBy=default.target
Enable the service if you want the service to be autostarted:
systemctl --user enable powernot.service
You can also manually start the service (if it has not been autostarted already):
systemctl --user start powernot.service
To check the current status of the service, run:
systemctl --user status powernot.service