Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: KDE battery indicator. Not detecting the battery

  1. #1

    Default KDE battery indicator. Not detecting the battery

    I have installed and updated the Leap 42.3 on my Toshiba Tecra Z40 and the battery indicator displays that there is no battery available.

    After the fresh install, the indicator worked properly just once. Later, after updating the installation, the battery indicator stopped working properly and I have no clue about what's going on. The battery indicator shows when the AC is plugged, but not the battery percentage itself, just a red cross on the bottom of the icon.

    BTW, the percentage is showed correctly on the log in screen. The KDE version is Plasma 5.8.7

    Some commands, that maybe could help.

    acpi -V

    Code:
    Battery 0: Charging, 94%, 00:25:05 until charged
    Battery 0: design capacity 4089 mAh, last full capacity 3350 mAh = 81%
    Adapter 0: on-line
    Thermal 0: ok, 16.0 degrees C
    Thermal 0: trip point 0 switches to mode critical at temperature 107.0 degrees C
    Cooling 0: x86_pkg_temp no state information available
    Cooling 1: intel_powerclamp no state information available
    Cooling 2: Processor 0 of 10
    Cooling 3: Processor 0 of 10
    Cooling 4: Processor 0 of 10
    Cooling 5: Processor 0 of 10
    upower -d
    Code:
    Device: /org/freedesktop/UPower/devices/line_power_ADP1
      native-path:          ADP1
      power supply:         yes
      updated:              dom 08 oct 2017 22:05:16 CEST (1948 seconds ago)
      has history:          no
      has statistics:       no
      line-power
        warning-level:       none
        online:              yes
        icon-name:          'ac-adapter-symbolic'
    
    Device: /org/freedesktop/UPower/devices/battery_BAT1
      native-path:          BAT1
      model:                G71C000GB310
      serial:               0
      power supply:         yes
      updated:              dom 08 oct 2017 22:37:43 CEST (1 seconds ago)
      has history:          yes
      has statistics:       yes
      battery
        present:             yes
        rechargeable:        yes
        state:               charging
        warning-level:       none
        energy:              46,031 Wh
        energy-empty:        0 Wh
        energy-full:         48,522 Wh
        energy-full-design:  59,223 Wh
        energy-rate:         7,153 W
        voltage:             14,48 V
        time to full:        20,9 minutes
        percentage:          94%
        capacity:            81,931%
        technology:          lithium-ion
        icon-name:          'battery-full-charging-symbolic'
      History (charge):
        1507494959  94,000  charging
      History (rate):
        1507495063  7,153   unknown
        1507495061  7,312   charging
        1507495060  8,152   charging
        1507495059  7,717   charging
        1507495058  7,341   charging
        1507495004  6,672   charging
    
    Device: /org/freedesktop/UPower/devices/DisplayDevice
      power supply:         yes
      updated:              dom 08 oct 2017 22:37:43 CEST (1 seconds ago)
      has history:          no
      has statistics:       no
      battery
        present:             yes
        state:               charging
        warning-level:       none
        energy:              46,031 Wh
        energy-full:         48,522 Wh
        energy-rate:         7,153 W
        time to full:        20,9 minutes
        percentage:          94%
        icon-name:          'battery-full-charging-symbolic'
    
    Daemon:
      daemon-version:  0.99.4
      on-battery:      no
      lid-is-closed:   no
      lid-is-present:  yes
      critical-action: Hibernate
    Any ideas?

    Thank you so much.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,714
    Blog Entries
    1

    Default Re: KDE battery indicator. Not detecting the battery

    Welcome to openSUSE Forums iarest. The output you posted looks as expected to me. Further to this, what does 'upower -d' report when the laptop is running on battery?

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,714
    Blog Entries
    1

    Default Re: KDE battery indicator. Not detecting the battery

    When running on battery, what is reported by the following?
    Code:
    acpi -i
    Please post all output within [CODE][/COD.] tags (refer to the '#' button in the forum editor).

  4. #4

    Default Re: KDE battery indicator. Not detecting the battery

    Thank you for replying

    At this moment I'm using the battery and the battery indicator says that I do not have any battery.

    The output of acpi -i

    Code:
    Battery 0: Discharging, 87%, 09:15:22 remaining
    Battery 0: design capacity 4089 mAh, last full capacity 3350 mAh = 81%

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,714
    Blog Entries
    1

    Default Re: KDE battery indicator. Not detecting the battery

    ....and what about the following?
    Code:
    upower -d

  6. #6

    Default Re: KDE battery indicator. Not detecting the battery

    I had put it in the first post, that's why I didn't post it again. Sorry.

    Code:
    linux-b1qy:~> upower -d     
    Device: /org/freedesktop/UPower/devices/line_power_ADP1
      native-path:          ADP1
      power supply:         yes
      updated:              lun 09 oct 2017 10:56:22 CEST (279 seconds ago)
      has history:          no
      has statistics:       no
      line-power
        warning-level:       none
        online:              no
        icon-name:          'ac-adapter-symbolic'
    
    Device: /org/freedesktop/UPower/devices/battery_BAT1
      native-path:          BAT1
      model:                G71C000GB310
      serial:               0
      power supply:         yes
      updated:              lun 09 oct 2017 11:00:59 CEST (2 seconds ago)
      has history:          yes
      has statistics:       yes
      battery
        present:             yes
        rechargeable:        yes
        state:               discharging
        warning-level:       none
        energy:              39,255 Wh
        energy-empty:        0 Wh
        energy-full:         48,508 Wh
        energy-full-design:  59,223 Wh
        energy-rate:         4,344 W
        voltage:             14,48 V
        time to empty:       9,0 hours
        percentage:          80%
        capacity:            81,9074%
        technology:          lithium-ion
        icon-name:          'battery-full-symbolic'
      History (charge):
        1507539639  80,000  discharging
      History (rate):
        1507539659  4,344   unknown
        1507539658  4,517   discharging
        1507539656  4,865   discharging
        1507539654  5,444   discharging
        1507539652  5,618   discharging
        1507539599  5,133   discharging
    
    Device: /org/freedesktop/UPower/devices/DisplayDevice
      power supply:         yes
      updated:              lun 09 oct 2017 11:00:59 CEST (2 seconds ago)
      has history:          no
      has statistics:       no
      battery
        present:             yes
        state:               discharging
        warning-level:       none
        energy:              39,255 Wh
        energy-full:         48,508 Wh
        energy-rate:         4,344 W
        time to empty:       9,0 hours
        percentage:          80%
        icon-name:          'battery-full-symbolic'
    
    Daemon:
      daemon-version:  0.99.4
      on-battery:      yes
      lid-is-closed:   no
      lid-is-present:  yes
      critical-action: Hibernate

  7. #7

    Default Re: KDE battery indicator. Not detecting the battery

    I have discovered something that maybe could help.

    I have rebooted the laptop and logged in and the battery indicator wasn't working properly (showing that there isn't any battery). BUT, I closed the user session and logged in again and mysteriously the battery indicator appeared and it had detected the battery.

    After that I rebooted again, logged in and the battery indicator was broken again. I tried again to log out and log in, and the indicator detected again the battery.

    I have tested it several times and all the times worked in the same way.

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,714
    Blog Entries
    1

    Default Re: KDE battery indicator. Not detecting the battery

    Try creating a new user, and see if the same issue manifests there as well.

  9. #9

    Default Re: KDE battery indicator. Not detecting the battery

    Quote Originally Posted by deano_ferrari View Post
    Try creating a new user, and see if the same issue manifests there as well.
    I have created a new user and it's the same issue there.

    I did some new tests and I found something else. If I wait a bit more in the login screen, and I enter with my user. The battery indicator is working properly. It seems to me that some service starts later than it should be and that's why if I log out and log in again fixes the problem provisionally.

    Of course, it's just a guess because I don't know the details of what's going on there.

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,714
    Blog Entries
    1

    Default Re: KDE battery indicator. Not detecting the battery

    Quote Originally Posted by iarest View Post
    I have created a new user and it's the same issue there.

    I did some new tests and I found something else. If I wait a bit more in the login screen, and I enter with my user. The battery indicator is working properly. It seems to me that some service starts later than it should be and that's why if I log out and log in again fixes the problem provisionally.

    Of course, it's just a guess because I don't know the details of what's going on there.
    That's an interesting find. Not sure if this is a PowerDevil issue or D-bus perhaps? A bug report is probably the best course of action here.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •