clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
524 stars 29 forks source link

Gnome Shell reports incorrect, seemingly random remaining power time. #824

Open yerbestpal opened 5 years ago

yerbestpal commented 5 years ago

The incorrect power remaining time is reported by Gnome Shell. Sometimes it will say I have many hundreds of hours left, other times it will say I have 30 hours, etc. Regardless, it is never correct.

Host System: Host: 81EU Lenovo ideapad 530S Kernel: 5.1.5-770.native CPU: Intel i5-8250U (8) @ 3.40 GPU: Intel UHD Graphics 620 Memory: 3614MiB / 7813MiB Current OS version: 29660

thiagomacieira commented 5 years ago

What does upower -d report?

Just trying to isolate whether the issue is upowerd or the GNOME applet.

yerbestpal commented 5 years ago

@thiagomacieira Silly mistake, apologies. I have updated the post. I should mention that after recent updates, the uptime I have remaining now seems to just from around 1hrs - 6hrs. It is still definitely broken, since it reported 1hr 30m just minutes ago, but it current reports 5hrs.

ross@dobby~ $ upower -d
Device: /org/freedesktop/UPower/devices/line_power_ADP0
  native-path:          ADP0
  power supply:         yes
  updated:              Thu 13 Jun 2019 09:37:06 BST (95 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_BAT0
  native-path:          BAT0
  vendor:               CPT-COS
  model:                L17C4PB0
  serial:               252
  power supply:         yes
  updated:              Thu 13 Jun 2019 09:37:06 BST (95 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              39.67 Wh
    energy-empty:        0 Wh
    energy-full:         41 Wh
    energy-full-design:  45.52 Wh
    energy-rate:         22.971 W
    voltage:             7.935 V
    time to empty:       1.7 hours
    percentage:          96%
    capacity:            90.0703%
    technology:          lithium-polymer
    icon-name:          'battery-full-symbolic'
  History (charge):
    1560415026  0.000   unknown
  History (rate):
    1560415026  0.000   unknown

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Thu 13 Jun 2019 09:37:06 BST (95 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               discharging
    warning-level:       none
    energy:              39.67 Wh
    energy-full:         41 Wh
    energy-rate:         22.971 W
    time to empty:       1.7 hours
    percentage:          96%
    icon-name:          'battery-full-symbolic'

Daemon:
  daemon-version:  0.99.10
  on-battery:      yes
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: PowerOff
thiagomacieira commented 5 years ago

Thanks, but you're on AC power at this point, so there's no charge or discharge rate.

Are you saying the applet tells you nonsensical remaining time while fully charged?