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

version graph

Package: gnome-power-manager; Maintainer for gnome-power-manager is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for gnome-power-manager is src:gnome-power-manager (PTS, buildd, popcon).

Reported by: Gennady Uraltsev <gennady.uraltsev@gmail.com>

Date: Mon, 14 Oct 2013 17:12:01 UTC

Severity: important

Found in version gnome-power-manager/3.8.2-1

Done: Jeremy Bícha <jbicha@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#726336; Package gnome-power-manager. (Mon, 14 Oct 2013 17:12:06 GMT) (full text, mbox, link).


Acknowledgement sent to Gennady Uraltsev <gennady.uraltsev@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Mon, 14 Oct 2013 17:12:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Gennady Uraltsev <gennady.uraltsev@gmail.com>
To: submit@bugs.debian.org
Subject: [gnome-power-manager] Gnome thinks I am on Battery when I am on AC
Date: Mon, 14 Oct 2013 19:10:47 +0200
[Message part 1 (text/plain, inline)]
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). 

Thanks!

Gennady

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.10-3-amd64

Debian Release: jessie/sid
  990 unstable        www.deb-multimedia.org 
  990 unstable        ftp.de.debian.org 
  500 stable          dl.google.com 
    1 experimental    ftp.debian.org 
    1 experimental    cdn.debian.net 

--- Package information. ---
Depends                        (Version) | Installed
========================================-+-=============
libc6                           (>= 2.4) | 
libcairo2                     (>= 1.2.4) | 
libglib2.0-0                (>= 2.31.18) | 
libgtk-3-0                   (>= 3.3.16) | 
libpango-1.0-0               (>= 1.18.0) | 
libpangocairo-1.0-0          (>= 1.14.0) | 
libupower-glib1               (>= 0.9.1) | 
dconf-gsettings-backend                  | 
 OR gsettings-backend                    | 
notification-daemon                      | 
dbus-x11                                 | 
upower                                   | 
gnome-settings-daemon           (>= 3.2) | 


Package's Recommends field is empty.

Suggests         (Version) | Installed
==========================-+-===========
policykit-1                | 0.105-3+nmu1




[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#726336; Package gnome-power-manager. (Mon, 14 Oct 2013 19:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Emilio Pozuelo Monfort <pochu@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Mon, 14 Oct 2013 19:03:04 GMT) (full text, mbox, link).


Message #10 received at 726336@bugs.debian.org (full text, mbox, reply):

From: Emilio Pozuelo Monfort <pochu@debian.org>
To: Gennady Uraltsev <gennady.uraltsev@gmail.com>, 726336@bugs.debian.org
Subject: Re: Bug#726336: [gnome-power-manager] Gnome thinks I am on Battery when I am on AC
Date: Mon, 14 Oct 2013 15:00:30 -0400
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?



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#726336; Package gnome-power-manager. (Tue, 15 Oct 2013 08:15:10 GMT) (full text, mbox, link).


Acknowledgement sent to Gennady Uraltsev <gennady.uraltsev@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Tue, 15 Oct 2013 08:15:10 GMT) (full text, mbox, link).


Message #15 received at 726336@bugs.debian.org (full text, mbox, reply):

From: Gennady Uraltsev <gennady.uraltsev@gmail.com>
To: Emilio Pozuelo Monfort <pochu@debian.org>
Cc: 726336@bugs.debian.org
Subject: Re: Bug#726336: [gnome-power-manager] Gnome thinks I am on Battery when I am on AC
Date: Tue, 15 Oct 2013 10:14:57 +0200
[Message part 1 (text/plain, inline)]
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?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#726336; Package gnome-power-manager. (Sat, 19 Oct 2013 17:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Gennady Uraltsev <gennady.uraltsev@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 19 Oct 2013 17:09:04 GMT) (full text, mbox, link).


Message #20 received at 726336@bugs.debian.org (full text, mbox, reply):

From: Gennady Uraltsev <gennady.uraltsev@gmail.com>
To: 726336 <726336@bugs.debian.org>
Subject: Re: Bug#726336: [gnome-power-manager] Gnome thinks I am on Battery when I am on AC
Date: Sat, 19 Oct 2013 19:08:26 +0200
[Message part 1 (text/plain, inline)]
I found some sort of clue. Updating the system through aptitude I once
got this error:

setterm: cannot (un)set powersave mode: Inappropriate ioctl for device

I do not know what package was concerned (updated quite a few). Maybe it
is not a problem of gnome after all. I tried searching google but people
complained about this error on servers and they wanted to disable power
management completely. This is not my case, however so just adding
acpi=off to the boot command will not do. In any case shouldn't gnome
power manager at least say something in .xsessionerrors if it encounters
a problem setting powermanagement settings? 

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?

[signature.asc (application/pgp-signature, inline)]

Reply sent to Jeremy Bícha <jbicha@debian.org>:
You have taken responsibility. (Mon, 10 Nov 2025 00:55:04 GMT) (full text, mbox, link).


Notification sent to Gennady Uraltsev <gennady.uraltsev@gmail.com>:
Bug acknowledged by developer. (Mon, 10 Nov 2025 00:55:04 GMT) (full text, mbox, link).


Message #25 received at 726336-done@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bícha <jbicha@debian.org>
To: 506486-done@bugs.debian.org, 726336-done@bugs.debian.org, 613935-done@bugs.debian.org, 477780-done@bugs.debian.org, 552537-done@bugs.debian.org
Subject: closing old gnome-power-manager bugs
Date: Sun, 9 Nov 2025 19:53:04 -0500
There have been many changes to Debian since this bug was originally
reported. If you are still experiencing this issue with Debian 13 (or
with Debian 12 or Testing or Unstable), please report a new bug.

Thank you,
Jeremy Bícha



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 08 Dec 2025 07:35:00 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:36:03 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.