On Sun April 11 2021 11:41:30 Dr. Nikolaus Klepp wrote:
if [ -d /sys/class/power_supply/BAT0 ]; then echo LAPTOP; else echo MAYBENOLAPTOP; fi
Works OK on newer laptops but not on some older models. Does it need ACPI/SuperFish?
FWIW we use Debian and our newer laptops don't have upower or libimobiledevice6 installed so the requirement in opensuse may possibly be an avoidable packaging artifact if someone wants to investigate further.
--Mike