https://bugs.kde.org/show_bug.cgi?id=480123
Bug ID: 480123 Summary: Feature request: Change definition of "On AC Power" state Classification: I don't know Product: kde Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: svroemi...@gmail.com Target Milestone: --- SUMMARY I'd like the "On AC Power" state to be redefined to "Battery not discharging". ELABORATION My work laptop has a 150W charger, but it's normally connected to a USB-C hub which delivers less power that that. I believe it's 65W. Normally that's fine but at times a non-KDE browser that shall not be named decides to keep my cores busy. And when that happens, the laptop needs more power than the hub can deliver, drawing the extra power it needs from the battery. When that happens, because it's technically connected to power, the "On AC Power" settings keep being applied, causing it to ultimately just die without me getting any warning that I'm in trouble beforehand. The battery widget will not raise any alarm and neither is the setting for "At critical level" (shut down in my case) ever applied. This stupid laptop then needs to charge using its own charger for about 12 minutes before it will even turn on again. I'd therefore like to see the following changes: 1. Redefine the "On AC Power" state to "Battery not discharging" and "On Batter Power" to "Battery discharging" (fwiw, I think the naming doesn't need to change, just the definition) 2. This should be used by both the power state guard thingamajig and the battery widget, so that: 1. The widget shows that the battery is discharging, even when on AC power 2. The "On Battery Power" state is used when discharging, even when on AC power 3. The "Advanced Power Settings" are honored when discharging, even when on AC power This way, any such future events can be prevented. STEPS TO REPRODUCE 1. have a power-hungry laptop 2. connect to USB-c hub that can deliver less power than the laptop needs under full load 3. get the CPU busy OBSERVED RESULT 1. The battery widget doesn't indicate that the battery is discharging 2. The battery widget doesn't raise the alarm when battery power is low 3. The laptop just dies while the power scheme clearly states that it should shut down when reaching 10% battery power EXPECTED RESULT 1. The battery widget should display, indicating that the battery is discharging 2. The battery widget should raise the alarm when the battery level is low 3. The laptop should honor the "At critical level" setting under "Advanced Power Settings" SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 -- You are receiving this mail because: You are watching all bug changes.