Ubuntu – set use_time_for_policy

11.10batterysuspend

Where do i find the "use_time_for_policy" fix in ubuntu 11.10 Oneiric Ocelot?

This post fixed it before.
Laptop immediately suspends when going onto battery power

I installed dconf-tools (dconf-editor) but A – didnt find a "search" option like gconf-editor, and B – after looking through them one by one, couldnt even find an entry similar to use_time_for_policy.

Did I just miss it, or is there something else i need to be doing / looking for?

Best Answer

Searching dconf from command line for policy with...

gsettings list-recursively | grep policy|more

results in 3 lines with 1 of them being...

org.gnome.settings-daemon.plugins.power use-time-for-policy true

and you can set it from command line with...

gsettings set org.gnome.settings-daemon.plugins.power use-time-for-policy false