distribution/projects/Rockchip/packages/system-utils/system.d/battery.service

14 lines
313 B
SYSTEMD
Raw Normal View History

2022-02-05 14:23:32 +00:00
[Unit]
Description=RG351 Low Power monitor
ConditionPathExists=/sys/class/power_supply/battery/capacity
Before=jelos.target
[Service]
Environment=HOME=/storage
EnvironmentFile=/storage/.config/emulationstation/scripts/es_env.sh
ExecStart=/usr/bin/battery
Restart=on-failure
[Install]
WantedBy=multi-user.target