I have a Lenovo IdeaPad Z570 with Ubuntu 12.04 and Windows 7. If it matters, I have a secondary NVIDIA GPU which I use Bumblebee with Primus to control (in the absence of Optimus drivers for Linux).
Every time I power down my computer from Ubuntu, it turns completely off (the shutdown process proceeds as usual and all of the lights and display turn entirely off). Then, after a few seconds, it powers back on from the very start (as if I had pressed the power button). Running 'sudo shutdown -h now' does not help. I'm asking this in Ask Ubuntu because this only occurs from my Ubuntu installation - Windows 7 does not exhibit this error.
If it matters, I recently migrated my Windows installation from a HDD to a new SSD and reinstalled Ubuntu from scratch (minus some documents in my /home directory). Any ideas?
EDIT: I believe this only happens on battery power, as I don't remember it ever happening on AC (it happens 100% right now). I don't have access to a charger at the moment, but I will try disabling laptop-mode to see if it helps.
EDIT: Setting ENABLE_LAPTOP_MODE_TOOLS=0 in /etc/laptop-mode/laptop-mode.conf seems to solve this problem, so it appears to be an issue with laptop-mode. But I'd like to maximize battery, so what can I do to fix this while keeping laptop-mode? The following errors show when I try to shutdown with laptop mode enabled - (using sudo shutdown now so I can read them without it powering off):
* Disabling laptop mode... /lib/init/upstart-job: 28: shift: can't shift that many /lib/init/upstart-job: 28: shift: can't shift that many modem-manager: <info> ModemManager (version 0.5.2.0) starting... modem-manager: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
It repeats the bottom two three times with , , . After the final message it states [fail] in red on the right side and
*Will now switch to single-user mode