distribution/projects/Rockchip/packages/system-utils/system.d/battery.service
2022-02-05 09:23:32 -05:00

13 lines
313 B
Desktop File

[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