• No battery in tray, battery widget says "no batteries"

    From Marc Haber@21:1/5 to All on Fri Feb 4 19:50:01 2022
    Hi,

    on my notebook, a Thinkpad X260 running Debian unstable, the battery
    widget has vanished from the tray. The "Battery and Brightness" widget
    added to the panel shows a battery with a red cross, hovering gives the
    message "No Batteries available".

    tlp-stat --battery sees both batteries just fine.

    Is this a bug in current KDE, or am I probably missing some packages to
    find out? Where does the battery try icon look for battery states?

    Greetings
    Marc

    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dietz Proepper@21:1/5 to All on Mon Feb 7 11:25:35 2022
    Good morning,

    Am Freitag, 4. Februar 2022, 19:40:14 CET schrieb Marc Haber:
    Hi,

    on my notebook, a Thinkpad X260 running Debian unstable, the battery
    widget has vanished from the tray. The "Battery and Brightness" widget
    added to the panel shows a battery with a red cross, hovering gives the message "No Batteries available".

    tlp-stat --battery sees both batteries just fine.

    Is this a bug in current KDE, or am I probably missing some packages to
    find out? Where does the battery try icon look for battery states?

    What does "upower -d" say? Iirc, powerdevil queries upower(d) by means of some dbus magic to obtain the battery stats.

    Regards,
    Dietz
    -----BEGIN PGP SIGNATURE-----

    iHUEABEKAB0WIQRXLjFJrGUqrtIn2lCong32mc4SfAUCYgDznwAKCRCong32mc4S fL7OAP9BbF9VGCS+RBaiBjCzY8Hzhfcanmr8FnHY6BE0JMk3LwD/XG0HYupAUsoK Q5/8/WhnuG7hn/6eCZtUFcAgWmYTRb4=
    =iPNk
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Dietz Proepper on Mon Feb 7 20:00:01 2022
    On Mon, Feb 07, 2022 at 11:25:35AM +0100, Dietz Proepper wrote:
    What does "upower -d" say? Iirc, powerdevil queries upower(d) by means of some
    dbus magic to obtain the battery stats.

    That looks good:
    s[1/5041]mh@drop:~ $ upower -d
    Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path: AC
    power supply: yes
    updated: Mo 07 Feb 2022 06:05:27 CET (49844 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_BAT0
    native-path: BAT0
    vendor: LGC
    model: 45N1113
    serial: 760
    power supply: yes
    updated: Mo 07 Feb 2022 19:55:28 CET (43 seconds ago)
    has history: yes
    has statistics: yes
    battery
    present: yes
    rechargeable: yes
    state: pending-charge
    warning-level: none
    energy: 13,93 Wh
    energy-empty: 0 Wh
    energy-full: 17,21 Wh
    energy-full-design: 23,48 Wh
    energy-rate: 0,00864198 W
    voltage: 11,977 V
    percentage: 80%
    capacity: 73,2964%
    technology: lithium-ion
    icon-name: 'battery-full-charging-symbolic'

    Device: /org/freedesktop/UPower/devices/battery_BAT1
    native-path: BAT1
    vendor: SANYO
    model: 45N1734
    serial: 15921
    power supply: yes
    updated: Mo 07 Feb 2022 19:55:28 CET (43 seconds ago)
    has history: yes
    has statistics: yes
    battery
    present: yes
    rechargeable: yes
    state: pending-charge
    warning-level: none
    energy: 48,74 Wh
    energy-empty: 0 Wh
    energy-full: 71,94 Wh
    energy-full-design: 72 Wh
    energy-rate: 0,00334661 W
    voltage: 11,795 V
    percentage: 67%
    capacity: 99,9167%
    technology: lithium-ion
    icon-name: 'battery-full-charging-symbolic'

    Device: /org/freedesktop/UPower/devices/DisplayDevice
    power supply: yes
    updated: Mo 07 Feb 2022 18:01:28 CET (6883 seconds ago)
    has history: no
    has statistics: no
    battery
    present: yes
    state: pending-charge
    warning-level: none
    energy: 62,67 Wh
    energy-full: 89,15 Wh
    energy-rate: 0,0119886 W
    percentage: 70,2973%
    icon-name: 'battery-full-charging-symbolic'

    Daemon:
    daemon-version: 0.99.13
    on-battery: no
    lid-is-closed: no
    lid-is-present: yes
    critical-action: HybridSleep
    [2/5042]mh@drop:~ $

    Greetings
    Marc


    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dietz Proepper@21:1/5 to All on Wed Feb 9 16:52:20 2022
    Am Montag, 7. Februar 2022, 19:57:19 CET schrieb Marc Haber:
    On Mon, Feb 07, 2022 at 11:25:35AM +0100, Dietz Proepper wrote:
    What does "upower -d" say? Iirc, powerdevil queries upower(d) by means of some dbus magic to obtain the battery stats.

    That looks good:
    s[1/5041]mh@drop:~ $ upower -d
    Device: /org/freedesktop/UPower/devices/line_power_AC
    [...]

    Sorry, then I don't know any further.

    Regards,
    Dietz
    -----BEGIN PGP SIGNATURE-----

    iHUEABEKAB0WIQRXLjFJrGUqrtIn2lCong32mc4SfAUCYgPjNAAKCRCong32mc4S fPmVAP9bBOx0fkQ3KKyz7AZ00qG1m1G1Dm/LynDnlnVccXwwAQD/Rqn8ax5qAfIA 49s+ND47tQhTOfwmAdv9JZeXjtYFw30=
    =Kpg/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Dietz Proepper on Thu Feb 10 17:50:01 2022
    On Wed, Feb 09, 2022 at 04:52:20PM +0100, Dietz Proepper wrote:
    Am Montag, 7. Februar 2022, 19:57:19 CET schrieb Marc Haber:
    On Mon, Feb 07, 2022 at 11:25:35AM +0100, Dietz Proepper wrote:
    What does "upower -d" say? Iirc, powerdevil queries upower(d) by means of some dbus magic to obtain the battery stats.

    That looks good:
    s[1/5041]mh@drop:~ $ upower -d
    Device: /org/freedesktop/UPower/devices/line_power_AC
    [...]

    Sorry, then I don't know any further.

    An apt upgrade seems to have fixed the issue.

    Greetings
    Marc

    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)