Bug 300716

Summary: System wakes up just after suspend on battery low
Product: [Unmaintained] solid Reporter: Ilya Potapov <danaivehr>
Component: powermanagementAssignee: Dario Freddi <drf>
Status: RESOLVED UPSTREAM    
Severity: normal CC: muziofg, oliver.henshaw
Priority: NOR    
Version First Reported In: 4.8.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ilya Potapov 2012-05-27 16:29:43 UTC
When battery is critically low system suspends and then immediately wakes up to unlock screen.

Reproducible: Always

Steps to Reproduce:
1. Work on laptop until battery is critically low and wait for auto-suspend.
Actual Results:  
Laptop suspends and then wakes up.

Expected Results:  
Laptop just suspends.

If i leave laptop on battery power it suspends automatically after period of time and not wakes up. Such behaviour is only for auto-suspend on battery-low. Active typing and clicking just before auto-suspend may be the cause.
Comment 1 Ilya Potapov 2012-05-27 16:30:32 UTC
I am using kubuntu precise with KDE 4.8.3 from kubuntu ppa
Comment 2 Ilya Potapov 2012-05-27 16:34:40 UTC
I can not choose 4.8.x version in 'version' for this bug because it is not listed for some reason.
Comment 3 Francesco 2013-03-23 15:53:20 UTC
This is not a KDE bug, this happens also with Windows (tried on my two netbooks)

I think it's a normal behaviour of every bios
Comment 4 Oliver Henshaw 2013-04-10 12:38:15 UTC
Yeah, there's probably nothing that can be done about this at the kde level. Try looking at /proc/acpi/wakeup (google has plenty of info on this) or see which devices are set to wake the computer in the bios.

Support channels for your distribution or the kernel might be able to offer more suggestions. Maybe the kernel could make sure that the input devices are quiet before suspending? I don't know.

Anyway, I'm provisionally closing this unless someone can come up with something powerdevil can do to alleviate this problem.