Hi Osprey, thank you for this. I used /usr/sbin/poweroff as you suggested and although the machine powered off just fine, the SSD stayed warm (continued to draw power) even though the machine was otherwise shut down. This continued until the battery was drained.
The poweroff command works, so that's one success.
The following is a collection of considerations.
It's likely the configs are okay, but just to make certain, check that the following config appears in /etc/systemd/logind.conf
It's a default setting so doesn't need to be uncommented if it's there, but must be there. If it's not, write it into the file and delete the pound sign (#) at the beginning of the line.
There's a few things in the BIOS worth checking.
For example:
Make sure fast boot is disabled. Some BIOSs keep power to parts of the machine when fast boot is set so that the booting can actually be fast. I expect secure boot is turned off, but it not, disabling is best.
It's worth hunting through the BIOS for anything that resembles something that keeps power on on like a "wake on LAN" setting or "always on for USB" setting. Disable anything that looks like that.
It's possible that a BIOS update exists that may have an impact on this issue. One can read of the issues that a BIOS update addresses, so if power management is one of those, then an update may be relevant.
It's wise to disable all forms of hibernation and suspension to see if that makes a difference. A quick and dirty way to check what's running in respect to that, is to run:
Code:
systemctl -a | grep -iE 'hibernate|suspend'
Output here is:
Code:
systemd-hibernate-resume.service loaded inactive dead Resume from hibernation
systemd-hybrid-sleep.service loaded inactive dead System Hybrid Suspend+Hibernate
systemd-suspend-then-hibernate.service loaded inactive dead System Suspend then Hibernate
systemd-suspend.service loaded inactive dead System Suspend
hibernate.target loaded inactive dead System Hibernation
hybrid-sleep.target loaded inactive dead Hybrid Suspend+Hibernate
suspend-then-hibernate.target loaded inactive dead Suspend; Hibernate if not used for a period of time
suspend.target loaded inactive dead Suspend
Try to disable any services or targets if not already disabled. The output above shows all are inactive.
Another suggestion stems from noting that the powertop app has the following as part of its description:
PowerTOP reports which components in the system are most likely to blame
for higher-than-needed power consumption, ranging from software
applications to active components in the system.
Unfortunately I'm not familiar with powertop, but it may have some relevant application to this problem. It's a matter of research and learning how to run the app to see if it can get the info needed.