On 10/10/2024 11:25, Ralph Corderoy wrote:
Well. If the OS thinks that the laptop is not charging and the
battery charge level is low, then it would do a safe shutdown.
No, surely it would run off mains power.
Except that with the battery connected, it thinks the laptop isn't on
mains power so it does a safe shutdown. Don't ask me why.
The laptop runs perfectly with the battery removed, so it is not
a complete write-off :-)
The laptop can detect it is getting mains power so it then knows it
doesn't have to use power-saving modes if it doesn't want to, and that
it can charge the battery if needed. What it doesn't need to do is
shutdown regardless of whether the battery is taking a charge or not.
So something odd is going on there and you may be able to diagnose more
under Linux using just the laptop with the battery installed.
https://wiki.archlinux.org/title/Power_management#Userspace_tools lists
some programs, including GUI ones, though I've no experience with any of
them.
Ideally, you'd like to see that mains input is being correctly spotted,
and stats from the charging circuitry. Preferably without GUI pixels
adding Chinese whispers. Perhaps those with laptops, the majority?,
will know more where to look and what's normal to see. There's commands
like ‘upower --dump’ but what would be useful may be very distro
dependent.
The problem is that I cannot run it under Linux with the battery
connected, so those battery health commands are not available to me.
The battery icon does not even appear on the Taskbar!
--
Terry Coles
--
Next meeting: Online, Jitsi, Tuesday, 2024-10-01 20:00
Check to whom you are replying
Meetings, mailing list, IRC, ... https://dorset.lug.org.uk
New thread, don't hijack: mailto:dorset@mailman.lug.org.uk