On Sunday, 10 April 2022 13:39:54 CEST James Valleroy wrote: > In the log it showed "WARNING System is on battery power, stopping". > It uses the on_ac_power command from powermgmt-base package.
Pretty sure the problem is in the on_ac_power script from powermgmt-base. It appears to be a really simplistic script which searches through 4 categories and I checked (with `ls -l <path>` what it would do on my Rock64: 1) /sys/class/power_supply/ total 0 (iow: that directory does exist, but is empty) 2) ACPI (through /proc/acpi/ac_adapter) ls: cannot access '/proc/acpi': No such file or directory 3) PMU (through /proc/pmu/info) ls: cannot access '/proc/pmu/info': No such file or directory 4) APM (through /proc/apm) ls: cannot access '/proc/apm': No such file or directory My guess is that it's unaware of device-tree ... which is a problem (for ARM devices).
signature.asc
Description: This is a digitally signed message part.