Bug#726336: [gnome-power-manager] Gnome thinks I am on Battery when I am on AC

Gennady Uraltsev gennady.uraltsev at gmail.com
Tue Oct 15 08:14:57 UTC 2013


This is the output of 

$ acpi -V
Battery 0: Charging, 90%, 00:24:44 until charged
Battery 0: design capacity 7800 mAh, last full capacity 6863 mAh = 87%
Adapter 0: on-line
Thermal 0: ok, 38.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 99.0
degrees C
Cooling 0: LCD 0 of 15
Cooling 1: LCD 0 of 15
Cooling 2: Processor 0 of 10
Cooling 3: Processor 0 of 10
Cooling 4: Processor 0 of 10
Cooling 5: Processor 0 of 10
Cooling 6: Processor 0 of 10
Cooling 7: Processor 0 of 10
Cooling 8: Processor 0 of 10
Cooling 9: Processor 0 of 10


I have tried studying the phenomenon a bit more. Maybe the problem is
actually that gnome-power-manager doesn't respect the settings in
dconf. 

My current settings are given by:

$ dconf dump /org/gnome/settings-daemon/plugins/power/
[/]
button-power='interactive'
critical-battery-action='shutdown'
idle-dim-time=60
sleep-inactive-ac-type='blank'
sleep-inactive-battery-timeout=300
lid-close-ac-action='blank'
idle-dim-ac=false
idle-dim-battery=true
idle-brightness=30
sleep-display-battery=180
lid-close-battery-action='suspend'
sleep-inactive-ac-timeout=600
use-time-for-policy=true

Even though it is told not to dim on ac "idle-dim-ac=false" it does so
and even tough sleep-inactive-ac-type='blank' it suspends when the
battery timeout is reached. I will try to experiment more. I am now
trying to reset and then configure all the values using dconf command
line tool and not dconf-editor. Lets see how it goes. 

Thanks!

Gennady.

On Mon, 2013-10-14 at 15:00 -0400, Emilio Pozuelo Monfort wrote:
> On 14/10/13 13:10, Gennady Uraltsev wrote:
> > Package: gnome-power-manager
> > Version: 3.8.2-1
> > Severity: important
> > 
> > Dear developers,
> > 
> > Starting from some time ago I noticed that my Gnome 3 thinks that I am
> > on battery even when I am on AC. In particular it brightens down my
> > screen and sleeps the laptop (Thinkpad W520) after some time of
> > inactivity even though these settings are enabled (through dconf) only
> > for battery powered operation. This worked some time ago (several weeks)
> > and got broke at some point (I cannot pin down when since it took some
> > time to notice). 
> 
> What does `acpi' say when gnome thinks you're on battery while you're not?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20131015/93156dbd/attachment.sig>


More information about the pkg-gnome-maintainers mailing list