dotfiles/systemd/system/log_battery.service

10 lines
211 B
SYSTEMD
Raw Normal View History

2023-12-23 20:14:15 -07:00
[Unit]
Description=Log the current battery charge
Wants=log_battery.timer
[Service]
User=root
Group=root
Type=oneshot
ExecStart=/usr/local/bin/log_battery.sh BAT0 /home/emiliko/safe/loggers/battery/battery.csv