Announcement

Collapse
No announcement yet.

Battery monitor problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Battery monitor problem

    Hi, I have Dell Inspirion 5547 and at first battery settings were working fine but after I try to "adjust" something (don't remember what exactly) they not working properly.
    When computer is on battery kubuntu enables always "On low battery" mode. This is not big problem but I never get system notification when battery is really low.
    All settings in Battery Monitor Settings menu are correct. Also I tried to adjust settings in ~/.kde/share/config/power... files and finally to delete them, but no luck.
    Battery indicator is always correct and notifications when I plug/unplug are also correct.
    Thanks for your help.

    #2
    So the battery indicator shows 100% when fully charged, and it shows that the battery discharges at a reasonable rate?

    What percentage values do you have for low battery and critical? (I forget the exact wording)
    I'd rather be locked out than locked in.

    Comment


      #3
      Yes battery indicator showing correct battery levels. Low battery is 20% Critical is 5% (Default values). Notifications are configured I think correctly. Problem is that when my battery drops below "Low battery" level I get no notification, like those events not firing. Also screen brightness is not changing.
      Last edited by vlatosev; Apr 08, 2015, 09:17 AM.

      Comment


        #4
        Might be worth posting your ~/.kde/share/config/power... files for comparison (as a better option than posting screenshots!)
        I'd rather be locked out than locked in.

        Comment


          #5
          Here is powerdevil.notifyrc:

          Code:
          [Event/criticalbattery]
          Action=Sound|Popup|Taskbar
          Execute=
          KTTS=
          Logfile=
          
          [Event/fullbattery]
          Action=Sound|Popup
          Execute=
          KTTS=
          Logfile=
          
          [Event/lowbattery]
          Action=Sound|Popup|Taskbar
          Execute=
          KTTS=
          Logfile=
          
          [Event/pluggedin]
          Action=Sound|Popup
          Execute=
          KTTS=
          Logfile=
          
          [Event/powerdevilerror]
          Execute=
          KTTS=
          Logfile=
          
          [Event/unplugged]
          Action=Sound|Popup
          Execute=
          KTTS=
          Logfile=
          powerdevilrc:

          Code:
          [BatteryManagement]
          BatteryCriticalAction=0
          powermanagementprofilesrc:

          Code:
          [AC]
          icon=battery-charging
          
          [AC][BrightnessControl]
          value=100
          
          [AC][DPMSControl]
          idleTime=600
          
          [AC][DimDisplay]
          idleTime=300000
          
          [AC][HandleButtonEvents]
          lidAction=1
          powerButtonAction=16
          
          [Activities][1e3d077e-a502-4796-8507-be6b5cb1a8a9]
          actLike=AC
          mode=None
          
          [Activities][6e6df7e1-9fa6-4ac9-8c32-1e2c2ce0f30d]
          mode=None
          
          [Battery]
          icon=battery-060
          
          [Battery][BrightnessControl]
          value=60
          
          [Battery][DPMSControl]
          idleTime=300
          
          [Battery][DimDisplay]
          idleTime=120000
          
          [Battery][HandleButtonEvents]
          lidAction=1
          powerButtonAction=16
          
          [Battery][SuspendSession]
          idleTime=600000
          suspendType=1
          
          [LowBattery]
          icon=battery-low
          
          [LowBattery][BrightnessControl]
          value=30
          
          [LowBattery][DPMSControl]
          idleTime=120
          
          [LowBattery][DimDisplay]
          idleTime=60000
          
          [LowBattery][HandleButtonEvents]
          lidAction=1
          powerButtonAction=16
          
          [LowBattery][SuspendSession]
          idleTime=300000
          suspendType=1
          I also don't get batteryfull notification (battery charges normally).

          Comment


            #6
            My powerdevil.notifyrc is almost empty, and I don't have a powerdevilrc.

            I wonder if the reason you aren't getting any notifications is that you have powerdevil.notifyrc overriding all the events with no sound or message text defined. Compare it with /usr/share/kde4/apps/powerdevil/powerdevil.notifyrc

            If you delete both the powerdevil files does it make a difference?

            The powermanagementprofilesrc file looks fine. Do you see the screen brightness change when you remove AC power? And when the battery falls below 20%? Is it just the notifications that are missing?
            I'd rather be locked out than locked in.

            Comment


              #7
              I will mark this as solved. I deleted entire ~/.kde directory and power management now works as it should. I never found what was real issue here. Thanks for replying.

              Comment

              Working...
              X