mobian-scripts/mobian-battery
2021-01-09 16:25:59 -08:00

5 lines
185 B
Bash
Executable File

#!/bin/bash
# Shortcut to echo the raw battery status on Mobian.
cat /sys/devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp20x-battery-power-supply/power_supply/axp20x-battery/uevent