On Debian Sid, what is the standard way of controlling scripts/actions based upon detection of a power source change (AC <--> battery)?Approaches that worked for me in Debian 8 don't seem to work now, for example scripts placed in /etc/pm/power.d/ do not seem to work, and acpid is...depcrecated?
How to initiate actions based on power source change on Debian Sid?
debian;power management