cycle count is not displayed by upower on ThinkPad X1 gen 9 although the entry exists in /sys/class/power_supply
Hardware is Thinkpad X1 gen 9 (Tigerlake). OS is Fedora 36 cycle_count exists in /sys/class/power_supply/BAT0 but is not shown in upower -d
[tim@fedora BAT0]$ upower --version
UPower client version 0.99.14
UPower daemon version 0.99.14
[tim@fedora BAT0]$
[tim@fedora BAT0]$ pwd
/sys/class/power_supply/BAT0
[tim@fedora BAT0]$ ls
alarm device present
capacity energy_full serial_number
capacity_level energy_full_design status
charge_behaviour energy_now subsystem
charge_control_end_threshold hwmon2 technology
charge_control_start_threshold manufacturer type
charge_start_threshold model_name uevent
charge_stop_threshold power voltage_min_design
cycle_count power_now voltage_now
[tim@fedora BAT0]$
[tim@fedora BAT0]$ cat cycle_count
55
`
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Thu 09 Jun 2022 04:10:51 PM AEST (92 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 49.47 Wh
energy-full: 58.99 Wh
energy-rate: 4.106 W
charge-cycles: N/A
time to empty: 12.0 hours
percentage: 83%
icon-name: 'battery-full-symbolic'
Daemon:
daemon-version: 0.99.14
on-battery: yes
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff
[tim@fedora BAT0]$
Edited by Tim Richardson