Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an ubuntu 12.04 laptop and it comes out of hibernate or standby randomly.

For example, yesterday I selected hibernate, closed the lid and put it in my computer bag. 24 hours later, it is still closed, in the bag, not doing anything. (I check it was there, not running, cold. Six hours later it has come out of hibernation, has 3% battery left and has overheated to the point I can't recharge the battery. This has happened without opening the lid.

This has happened a few times before, where I put it on standby or hibernate, close the lid and I come to use it hours later and find it is running again even though the lid is still closed.

The only way to prevent this at the moment is to do a full shutdown. Is there a way to prevent it coming out of hibernate or stand by spuriously. Note: even if it does come out of hibernate it is set to hibernate after 30 minutes idle, which it doesn't do, it just runs until the battery is flat.

share|improve this question
1  
Maybe some hints in Toshiba resume automatically after suspending in Ubuntu 14.04 –  bain Aug 3 at 15:32
    
@bain +1 It looks similar, though it happens after hours on Ubuntu 12.04. –  Peter Lawrey Aug 3 at 16:52
1  
Check cat /sys/kernel/debug/wakeup_sources for active_count and event_count, they should increase after a wakeup and the "name" column should tell you the source of the system wakeup event. cat /proc/acpi/wakeup will show you which devices are "enabled" to generate wakeup events. find /sys/devices -name wakeup will show you all nodes for wakeup control, you can cat those to see the current setting or echo "enabled"/"disabled" to turn wakeup on or off for that device. –  bain Aug 3 at 23:38
    
What type of laptop is this? Apparently there is a bug/"feature" in the Lenovo BIOS that wakes the system after 3 hours: Ubuntu 14.04 wakes from suspend by itself –  bain Aug 5 at 10:23
    
It is a Dell XPS 13 ultra book. For the most part it is really useful, unless I forget to shut it down e.g. it hibernates itself, I forget it might just start up again and drain the battery. I could disable the self hibernate and remove the option. Your suggestions are useful, but I haven't been able to try it yet. –  Peter Lawrey Aug 5 at 10:28

1 Answer 1

This is possibly bug #1161962 - XPS 13 wakes up from suspend spontaneously or some other related bug.

This is a bug and should be reported it on Launchpad. You will then be asked to:

Even if the bug is fixed in later mainline Linux kernels, it is still important to report the issue on Launchpad to ensure that the bug gets fixed in the Ubuntu kernel.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.