Tag Info

Hot answers tagged


The login1 interface provides the signal now. Here is the modified code: #!/usr/bin/python # slightly different code for handling suspend resume # using login1 interface signals # import dbus # for dbus communication (obviously) import gobject # main loop from dbus.mainloop.glib import DBusGMainLoop # integration into the main loop def ...


I thought your question was interesting so I decided to look into it myself. What I found was this answer, and it rather looks like it might apply to your question, while at the same time offering others such as myself an interesting capability I never knew I had! http://stackoverflow.com/questions/4702216/controlling-a-usb-power-supply-on-off-with-linux


Ubuntu Unity now uses dconf instead of gconf. Read this answer on how to modify settings. The keys you are looking for are stored in org.gnome.settings-daemon.plugins.power For example $ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'hibernate' will change the idle action on AC power to 'hibernate'. You can still set the ...


Found a way to disable the crapware called "intel_powerclamp": sudo su cd /etc/modprobe.d cat >intel_powerclamp.conf # avoid shitty powerclamp install intel_powerclamp /bin/true ^D and then, after a reboot, no kidle_inject processes force you to save power.


Proabably it is your battery that is failing. To check this run: upower -e Identify your battery and run: upower -i /org/freedesktop/UPower/devices/battery_BAT0 Change the battery "path" accordingly.

Only top voted, non community-wiki answers of a minimum length are eligible