Power-manager applet: wrong alerts

I have Gnome and I use power-manager-applet in the taskbar to check the life of the battery.
I noticed this strange problem... When I use the laptop with batteris and I connect the power cable, the applet displays a popup alerting me that the power cable has been disconnected! But the icon shows the right image with the plug over the battery. And if I put the mouse on it, a tooltip says that the battery is charging...
If I disconnect the cable, the applet doesn't display no alters and an OSD popup with a stylized gear appears in the middle-botton of the monitor....
Does anybody has experienced something similar?

I've tried xfce4-power-manager but this program has a bug too.
Its icon appears in the sys-tray only after about 20 seconds after Gnome's loaded...
I've tried to load it from ~/.bashrc but it manifest the same problem: it appears only after a while... Could it do this because I use it under Gnome instead of XFCE?
P.S.:
I've noticed that it is also slower than gnome-power-manager in refreshing its state: if I disconnect the power cable, it pops up the notification after 5-10 seconds...
Last edited by leo72 (2009-06-30 20:26:22)

Similar Messages

  • Gnome Power Manager Applet

    Hi all,
    since the last update, the gnome power manager applet is gone. I can change the preferences with the gnome-power-preferences tool, but the applet in the system bar is gone... Any idea?
    Acker

    Master One wrote:
    So what's going on?
    I do not assume, that users of other distros have such problems, at least in Foresight Linux the applet is working as supposed to, which confirms that it's not an upstream problem. There is a bug open, but no info about any progress.
    Is anybody working on a fix?
    Jan de Groot has been assigned to this task a few days ago. Jan works on 580 open tasks, most of which have a higher priority then this bug.
    As seen from the screenshot threads, quite some Arch users are on Gnome, so that's surely not something just a minority is in need of.
    What's with the Gnome 2.18.1 updates (though the working version of the Gnome Power Manager in Foresight Linux is 2.18.2 as well)?
    Oh my, an icon is not shown, man the life boats. The gnome-power-manager works perfectly -- at least for me -- it just doesn't show an icon in the notification area. If you absolutely need the icon, deploy Iloeki's script. It should do the job.

  • AUR eee-control/gnome-power-manager

    I updated my system, and seem to have a minor issue between gnome-power-manager 2.30 and eee-control-tray 9.4 (from the AUR, this might be the wrong section).  The tray tool functions normally, except for the automatic FSB scaling with the new gnome-power-manager applet:  When I launch eee-control-tray from the command line, I get an output of "FSB scaling not available.  Is gnome-power-manager running?"  I was wondering if anybody else has encountered this so far, and if it can be fixed.
    Last edited by arinlares (2010-04-22 23:38:07)

    Hello combuster!
    gpm 2.26.3 ?
    Is it just a misstyping ?

  • Power manager doesn't get battery status upgrade. Embedded Compact 7

    Hello everybody!
    We are using custom Freescale MX53 based board.
    We are using FAKE battery driver as our battery driver base.
    Driver succesfully built and loaded by wec7 (linked with battdrvr_mdd.lib) and I see debug messages when toggling battery.
    But power manager applet knows nothing about my battery status.
    Here are functions we've implemented:
    BatteryPDDGetStatus
    BatteryPDDGetLevels
    BatteryPDDSupportsChangeNotification
    And in our charger interrupt handle thread we've got:
    LOCKBATTERY();
    BatteryAPIGetSystemPowerStatusEx2(&gBatteryContext.st, sizeof(gBatteryContext.st), TRUE);
    UNLOCKBATTERY();
    PowerPolicyNotify(PPN_POWERCHANGE, 0);
    We see in debug that
    BatteryAPIGetSystemPowerStatusEx2
    calling
    BatteryPDDGetStatus(PSYSTEM_POWER_STATUS_EX2 pstatus, PBOOL pfBatteriesChangedSinceLastCall)
    But nothing changing in power manager. It always shows that power supply connected and battery is charging. Even if
    pstatus->ACLineStatus = AC_LINE_ONLINE;
    pstatus->BatteryFlag = BATTERY_FLAG_NO_BATTERY;
    //or
    pstatus->ACLineStatus = AC_LINE_OFFLINE;
    pstatus->BatteryFlag = BATTERY_FLAG_CRITICAL;
    EDIT:
    Don't know why but can't get GetSystemPowerStatusEx2  from test app. It returns general error(31). And not calling my
    BatteryPDDGetStatus
    Where can be the problem?

    Are you sure you have the battery driver added from the catalog to the OS design?
    It is under Core OS Services->Battery Driver.
    Also you have to have the BSP battery driver added.
    Dave

  • Nm-applet,power-manager ....disappeared from panel after "pacman -Syu

    i use gnome-shell ............nm-applet,power-manager ....disappeared from panel after "pacman -Syu............in pacman -Syu.... dbus was updated..............now when i type nm-applet in the panel i get :
    nm-applet
    ** Message: applet now removed from the notification area
    earlier before upgrade it was working perfectly ......please help

    i use gnome-shell ............nm-applet,power-manager ....disappeared from panel after "pacman -Syu............in pacman -Syu.... dbus was updated..............now when i type nm-applet in the panel i get :
    nm-applet
    ** Message: applet now removed from the notification area
    earlier before upgrade it was working perfectly ......please help

  • XFCE Power Management

    I have the XFCE cpu scaling monitor applet running and I cannot change the CPU governor.  If I set it to anything and click close and open it again it is back on performance instead of conservative.  I have cpufreq-utils installed and I have edited my rc.conf to have the acpi-cpufreq cpufreq_demand cpufreq_powersave cpufreq_conservative and cpufreq_performance modules to load.  How can I get it to save my settings?
    Secondly, when I check "Spin down hard disks" in xfce4-power-manager under On Battery and click close then open it again it is unchecked.  How can I keep it checked?
    Last edited by vlamnire0 (2011-09-22 23:11:44)

    It seems fairly obvious that there is a disconnect between your GUI frontend and whatever Xfce uses on the backend to manipulate these settings.  However, I don't know if it is a permissions issue or something else.  dmesg isn't a boot log, it is an interface for kernel and module messages and is usually a good place for looking when something goes wrong.  There are other logs that are more specific in your /var/log directory.
    Run dmesg --clear, then perform some of these actions and run dmesg again.  This will clear all of the boot messages and leave you with only the messages that occurred after you cleared it.

  • [SOLVED] XFCE 4.12 - laptop lid ignores power-manager settings

    I just fresh installed Arch w/ XFCE 4.12
    In power manager, I set the lid switch to suspend on battery, lock on ac.  The setting worked initially, but after the first suspend, or a reboot, the lid switch triggers suspend no matter what.
    I tried setting HandleLidSwitch=ignore in /etc/systemd/logind.conf, as suggested in numerous online sources, but it didn't help
    I tried rm -rf .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml, which makes it work temporarily again, until a suspend or a reboot
    Does anyone know of a fix for this?  It's not a deal-breaker but it's a pain in the ass.
    Last edited by madscience (2015-04-13 03:10:33)

    I may have solved it.
    I edited the xml file directly and set <property name="logind-handle-lid-switch" type="bool" value="false"/>
    Now the options seem to work as intended.  I also noticed that if you launch the settings applet, it changes that key back to true every time it's opened.  The change can also be made through the settings editor.
    I'll test for 24 hours and mark as solved if it works.
    EDIT:
    That didn't work permanently, I'm back to suspending on lid close on AC.  I'm using TLP with battery thresholds enabled, and I'm starting to wonder if xfce-power-manager is reading the charge state of the battery instead of the power source directly.  When my battery is below the start charging threshold and is actually charging, it seems to be working as intended.  If my laptop is on AC but the battery is not actually charging, it acts like it's on battery.  I might be wrong, it's just a theory.
    Last edited by madscience (2015-04-13 02:44:48)

  • Gnome Power Manager after Last Upgrade

    Hi There,
    I just did a pacman -Syu and upgraded lots of packages which also include dbus etc.. I just restarted and puzzled that GNOME Power Manager is a lot different now then it's used to be before the upgrade. First of all, it's systray logo is different. Then it's menu, it's options, everything about it are different. I can't see an upgrade in the pacman.log for gnome-power-manager but it's completely changed..
    When I pull the AC power and work on the batteries, it doesn't change the status of the applet. So the applet is very useless right now.. Although it doesn't seem to be an applet while it can't be moved around or I can't change anything about it..
    Before the upgrade, I was able to get information by simply right clicking on it selection Information.. But now, even that option is completely changed.. Is there something wrong ?

    Hello.
    Is the bug fixed already? I have some problems with gnome-power-manager, dbus and hal. After installing Gnome everything was just fine, after I reboot I cannot start HAL:
    [root@ichi ~]# /etc/rc.d/hal start
    :: Starting Hardware Abstraction Layer                                                                                                                                                                    [FAIL]
    [root@ichi ~]# lshal
    error: dbus_bus_get: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    gnome-power-manager gives msgbox with error about connecting to DBUS.
    What is the issue?

  • Can't get R&R or Power Manager to work under upgraded Win7 on X61

    I recently upgraded my X61 from Win Vista Business to Win7 Pro. While doing so I installed the new and supposedly Windows 7 compatible versions of R&R and Power Manager. However, I can't seem to get either to work - I can't even start the applications. Both immediately crash and tell me that "Lenovo Application has stopped working" (R&R) and "Power Manager has stopped working." I do get the power gauge in the task bar, but I cannot click it (same error/crash). 
    I followed the instructions and have therefore updated all the applicable drivers etc, e.g. the new version of CSS for R&R and the Power Management Driver for Power Manager, but it still doesn't work. I've also tried reinstalling (both uninstall followed by install and repair/reinstall). Does anybody know what's going on? What could be wrong?
    Is anybody else experiencing the same [kind of] problem? Are there any solutions?
    Thanks!
    Per Bylund
    Solved!
    Go to Solution.

    I believe I've found the reason for the problem I had with both R&R and the Power Manager (also discussed here): I did not have .NET framework 3.5.1 SP 1 installed. It is obviously disabled by default on Win7, so one will have to enable it through Control Panel -> Uninstall a program -> Turn Windows features on or off (and then make sure to check the Microsoft .NET Framework 3.5.1 check box).
    The strange thing is that I have not found the information that .NET framework is required anywhere - Lenovo obviously didn't think of supplying it. I just happened to find the solution when installing the upgrade for the Lenovo Toolbox, which could not be finished without first installing the framework (and the Toolbox installation program told me this was required). 
    So make sure you have the .NET framework enabled if you want to run a bunch of the ThinkVantage applications!
    Per Bylund

  • Xfce4-power-manager and laptop-mode-tools + backlight problems.

    Cross posted from here: https://bbs.archlinux.org/viewtopic.php?id=127992
    I don't know which forum it belongs to, so maybe a mod can close the one in the wrong forum.
    Out of curiosity, do these two tools conflict with each other? There seems to be some features that do the same thing, ie harddrive spin down time, but I'm not sure if these two will try to kill each other trying to configure the same power settings. If they do conflict, how could I go about disabling the conflicting parts (on either)? laptop-mode-tools claims it needs acpid "for ACPI support", however, acpid seems to be grabbing the standby event and throwing the laptop in standby despite the standby button bound to do nothing in xfce-power-manager. If I take out acpid, does that mean laptop-mode will no longer detect acpi events such as connecting/disconnecting AC power and thus not change modes when its plugged in?
    Another problem I've had after installing xfce4-power-manager is that when I use the brightness hotkeys the backlight gets stuck and starts flashing, locking up the system until I force shutdown. However, I can use the brightness plugin without trouble at all. What's causing the power manager to screw up setting the brightness since it clearly seems to work otherwise.

    It is easier to close this one and move the other thread over here. Just continue there.
    BTW better use the Report button when you want to have a thread of yours moved to another forum. That way it is guaranteed a mod will see this in time. And you never need to cross post.

  • Given up on v20z power management

    Well, I tried almost everything I could and neither Sun nor AMD could provide me with a solution to power management on the dual Opteron 248 v20z machine that I have here.
    I'm now left with two solutions
    1) remove a CPU (that'll drop the idle power down to about 100W collectively)
    2) replace the machine with something that can do power management.
    I'd like to say that I think it's a glaring oversight to not have any power management provisions, even in BIOS. Considering the diversity of sensors and management facilities in the service portal, it seems strange that one cannot even put the machine into 'sleep' mode.
    Is Phoenix/Sun going to address this situation in the next BIOS update?
    Paul.

    this is unfortunately the wrong place to ask.
    Your inquiry should be targeted to your reseller or
    your Sun Sales representative.The sad thing is that I did. They subsequently pushed out the question through the various channels and nothing came back, this was several weeks ago now. I'll readdress my Sun rep about the matter.
    :-(

  • [SOLVED]Network Manager Applet and nmcli failing after GCC upgrade

    Hi All,
    So I went to update my system today and there were only like 8 or 9 updates. Like many other people I had an issue with gcc and pacman. To fix this I ran
    pacman -S gcc
    Then I ran:
    pacman -Su
    which updated pacman itself. On reboot though I noticed network manager applet was unable to find any of my network devices despite the fact that network manager was running and I had an IP address. I killed nm-applet and re-ran it and it spewed errors about not being able to connect to network manager. I tried running nmcli and it did the same thing. However, when I run nmcli as root it works. Looking at the arch wiki they suggest you be a part of the wheel and network group which I made sure I was. Everything was working up until I ran those two updates though. Anyone else have this happen or have any idea what is wrong?
    Thanks,
    Hemmar
    EDIT: Never mind - a patch was released for consolekit which fixes the problem.
    Last edited by hemmar (2012-04-13 00:36:49)

    Hi guz46
    I have already tried removing the ! and the same thing happened ... but I realised today that I was being automatically connected to "Auto eth0" despite there being no cable present. When automatic connection was disabled on "Auto eth0" my 3G connection (ppp0) connected fine.
    Could you clarify that the preferred set-up in the /etc/rc.conf for the interfaces is without the !. The Wiki for networkmanager says to disable them, but then states that some may need to be reenabled with no explanation. The purpose of this confuses me!
    Thanks for you help anyways,
    Scott
    EDIT:
    I appear to have fixed my problem with the auto connection on the various interfaces by updating my /etc/rc.conf file to:
    #Static IP example
    #eth0="dhcp"
    ppp0="dhcp"
    wlan0="dhcp"
    eth0="dhcp"
    INTERFACES=(ppp0 wlan0 eth0)
    Thus ensuring that I can connect in order of preference.
    Last edited by ScottArch (2009-11-03 18:48:47)

  • Network Manager Applet Cannot Edit Options/Connections As Normal User

    Today I installed Network Manager, and Network Manager Applet in XFCE as a normal user. I followed the instructions on the Arch Network Manager Wiki to the best of my knowlage. The NM-Applet connects to my ethernet, and everything is fine. Untill that is, when I right click the NM Applet.
    Once right clicked as a normal user, 'Enable Networking', and 'Enable Wireless' are greyed out and unselectable. Also, when I right click the applet and select 'Edit Connections' 90% of the clickable options are greyed out, including the options to 'Edit' or 'Delete' connections. The only clickable option not greyed out is 'Add' button.
    Clicking Add brings up the 'Add New Connection Window', but again everything is greyed out. 'Available To All Users' is checked, but is greyed out also. But, starting XFCE as root, allows me to use the NM Applet with no restrictions, AKA none of the greyed out options. Everything works fine.This is my second day using Arch, so I am not sure where to go now.
    It also may be of help ito say I haven't gotten a display manager, such as lightdm or gdm.
    My guess is that root is listed under a group the 'jesse' isn't. Or maybe it has something to do with PolicyKit. I'm not sure. If someone could give me a set of clear instructions on how to fix this annoyance, it would be greatly appreciated. Thank You.
    My Current Normal User Groups wrote: disk lp wheel uucp games network video audio optical storage scanner power users
    My /etc/hosts file wrote:
    # /etc/hosts: static lookup table for host names
    #<ip-address>   <hostname.domain.org>           <hostname>
    127.0.0.1              localhost.localdomain localhost jesse
    ::1                         localhost.localdomain localhost jesse
    # End of file
    My /etc/rc.conf wrote:
    # /etc/rc.conf - configuration file for initscripts
    # Most of rc.conf has been replaced by various other configuration
    # files. See archlinux(7) for details.
    # For more details on rc.conf see rc.conf(5).
    DAEMONS=(alsa dbus syslog-ng crond ifplugd networkmanager bluetooth avahi-daemon acahi-dnsconfd avahi-dnsconfd fa$
    # Storage
    # USEDMRAID="no"
    # USELVM="no"
    # Network
    # interface=eth0
    # address=
    # netmask=
    # gateway=
    My /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla wrote:Identity=unix-group:network
    Action=org.freedesktop.NetworkManager.*
    ResultAny=yes
    ResultInactive=no
    ResultActive=yes
    Last edited by TriforceLZG (2012-09-02 13:43:23)

    I found the solution, I had to install a Display Manager. Now everything is fine.

  • Reset power management unit (PMU) 12" PB Aliminium case

    The Apple instructions for resetting the PMU are:
    1. If the computer is on, turn it off.
    2. Reset the power manager by simultaneously pressing and then releasing Shift-Control-Option-Power on the keyboard. Do not press the fn (Function) key while using this combination of keystrokes.
    3. Wait 5 seconds.
    4. Press the Power button to restart the computer.
    I've followed the instructions and can't get the PMU to reset. (I understand that the date and time resets when the PMU resets thereby giving you an indication that it has been successful).
    I must be doing something wrong though the instructions seem quite clear.
    Is there a trick that I'm missing?
    How long should I hold the'Shift-Control-Option-Power' keys down before I release them?
    Grateful for any help or direction.

    When you press the correct keys it works a treat. Problem solved.

  • Power management problem in MacBook 13 firmware?

    After installing the Tiger 10.4.7 update, I have seen various problems with powering up my MacBook. Once powered up, I don't have any visible problems. Only after powering down, the problem arises.
    When I go to start the MacBook, the screen goes all gray, then it looks as though the LCD update stops. The screen slowly fades to colored vertical lines, then goes white as if the clocks to the LCD module have stopped, or at the wrong speed.
    The solution that I have found to overcome this is to clear the PRAM (ALT-CMD P R) and to then hold the power button until the white led blinks fast. I get a long tone from the speaker, then the machine boots normally.
    I suspect that something in the new 10.4.7 update is causing the PRAM / Power management system to become corrupt. Any thoughts?
    Thank you.
    John

    Thanks for the reply. I don't consider the LCD lines a problem in themseleves. There is something that changed when the 10.4.7 update was installed that has caused an issue with the startup.
    Just to be clear, I had backed up, repaired permissions, checked my HD media, and followed Apple's recommended action before installing the update (as with all other updates).
    My educated guess, having designed hardware and firmware for a number of years, is that something is corrupting the PRAM or other startup prior to getting to the HD. Until we start looking into the underlying problem with the update itself, the problem will continue.
    It is important to make sure that there are no underlying problems with the system before installing an update. However, in this case, it is clear that there is something wrong with the update / update process with 10.4.7.

Maybe you are looking for