Hi Terry, > > > I don't understand why a Linux laptop on mains power would want to > > > shut down in one minute due to the amount of battery charge. > > > > 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. > The laptop runs perfectly with the battery removed, so it is not > a complete write-off :-) Good. 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. -- Cheers, Ralph. -- 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