Some follow up on the issue. I think I know where the problems is, and
is related to switchable graphics.

Apparently, after resuming, the discrete GPU is ON, despite the fact
that vga_switcheroo says it is OFF. Turning ON the discrete GPU, and
turning it OFF again, solves the problem, reducing the power consumption
to the values before suspend.

I created a script to be run after resume with the following lines:

#!/bin/sh

case "$1" in
    hibernate|suspend)
        ;;
    thaw|resume)
        echo ON > /sys/kernel/debug/vgaswitcheroo/switch         
        sleep 45        
        echo OFF > /sys/kernel/debug/vgaswitcheroo/switch 
        ;;
    *)
        ;;
esac

exit 0

With this workaround the problem is no present any more.

Should I file a bug on vga_switcheroo?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/909337

Title:
  Power consumption significantly increased after resume from suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/909337/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to