Bug 349743

Summary: kde 4.18.4: powermanagement (powerdevil?) : Does not shutdown on critical battery, but stops at "abort active sessions" window
Product: [Plasma] Powerdevil Reporter: tormen
Component: generalAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED INTENTIONAL    
Severity: critical CC: jr, tormen
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tormen 2015-06-30 09:05:11 UTC
The shutdown on critical battery level does not finish because of a confirmation window asking for permission to abort active sessions :(

I put that one to critical because it made the battery drop to 0 and the abrupt end caused in deed data loss as the filesystem did not like the poweroff.

Reproducible: Always

Steps to Reproduce:
1. systemsettings - Power Management - Advanced Settings : When battery has reached critical : Shutdown.

2. Critical level: 5%
... or for testing purposes I then set it at "actucal level - 1%"

3. Wait

Actual Results:  
The critical level gets detected. There is a pop-up in the systray, then 30 seconds later logs you out and then there is this beautiful window:

Turn off Computer
Abort active Sessions: 
me TTY login 
... 
OK Cancel

and it SITS there ...

... and sits there...

... until the battery says: ENOUGH! ;)


Expected Results:  
Forced Shutdown, not caring about sessions. 

Any way to force the shutdown ?
Comment 1 tormen 2015-06-30 09:06:41 UTC
Ugly workaround: call poweroff in a script, and the window won't appear
Comment 2 tormen 2015-06-30 09:16:21 UTC
But this really is an ugly workaround, because one seems to only be able to execute a custom script on LOW battery and not on CRITICAL battery level. 
By setting the low battery level to 5% one looses basically the ability of having a pre-emptive low power level (e.g. at 20% battery remaining) that warns and activates some more power saving settings.
Comment 3 Jonathan Riddell 2015-08-06 09:21:18 UTC
plasma 4 is unsupported