[Powerdevil] [Bug 435931] Charge limit stops 1% short

2022-02-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

 Resolution|FIXED   |UPSTREAM
   Version Fixed In||5.24.1

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2022-02-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
   |49013bf4a5fd570fe05910f2d14 |ef454e9d77fd48c07f810e9ab6c
   |5a926410fc140   |c0c7812f30ce7

--- Comment #9 from Nate Graham  ---
Git commit ef454e9d77fd48c07f810e9ab6cc0c7812f30ce7 by Nate Graham.
Committed on 14/02/2022 at 18:56.
Pushed by ngraham into branch 'Plasma/5.24'.

applets/battery: adjust show/hide conditions for charge limits

When we are using a charge threshold, the kernel may stop charging
within a percentage point of the actual threshold and this is
considered correct behavior, so we have to handle that. See
https://bugzilla.kernel.org/show_bug.cgi?id=215531.

Also, Upower may give us a status of "Not charging" rather than
"Fully charged", so we need to account for that as well. See
https://gitlab.freedesktop.org/upower/upower/-/issues/142.


(cherry picked from commit 49013bf4a5fd570fe05910f2d145a926410fc140)

M  +14   -1applets/batterymonitor/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/ef454e9d77fd48c07f810e9ab6cc0c7812f30ce7

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2022-02-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

 Resolution|UPSTREAM|FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||49013bf4a5fd570fe05910f2d14
   ||5a926410fc140

--- Comment #8 from Nate Graham  ---
Git commit 49013bf4a5fd570fe05910f2d145a926410fc140 by Nate Graham.
Committed on 14/02/2022 at 18:55.
Pushed by ngraham into branch 'master'.

applets/battery: adjust show/hide conditions for charge limits

When we are using a charge threshold, the kernel may stop charging
within a percentage point of the actual threshold and this is
considered correct behavior, so we have to handle that. See
https://bugzilla.kernel.org/show_bug.cgi?id=215531.

Also, Upower may give us a status of "Not charging" rather than
"Fully charged", so we need to account for that as well. See
https://gitlab.freedesktop.org/upower/upower/-/issues/142.

M  +14   -1applets/batterymonitor/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/49013bf4a5fd570fe05910f2d145a926410fc140

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2022-02-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |HI

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2022-02-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

URL|https://bugzilla.kernel.org |https://gitlab.freedesktop.
   |/show_bug.cgi?id=215531 |org/upower/upower/-/issues/
   ||142

--- Comment #7 from Nate Graham  ---
Partially fixed in the kernel with
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e96c1197aca628f7d2480a1cc3214912b40b3414;
now it's back to UPower to fix, and
https://gitlab.freedesktop.org/upower/upower/-/issues/142 has been re-opened.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2022-02-06 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=435931

--- Comment #6 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1441

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2022-01-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

URL|https://gitlab.freedesktop. |https://bugzilla.kernel.org
   |org/upower/upower/-/issues/ |/show_bug.cgi?id=215531
   |142 |

--- Comment #5 from Nate Graham  ---
The upower people say it's a kernel bug, so I filed a kernel bug for it:
https://bugzilla.kernel.org/show_bug.cgi?id=215531

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2021-04-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

URL||https://gitlab.freedesktop.
   ||org/upower/upower/-/issues/
   ||142

--- Comment #4 from Nate Graham  ---
OK, reported: https://gitlab.freedesktop.org/upower/upower/-/issues/142

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2021-04-20 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=435931

David Edmundson  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|CONFIRMED   |RESOLVED

--- Comment #3 from David Edmundson  ---
I'm assuming this is whilst you had a charge-limit of 90?


state:   charging
time to full:36.6 minutes
percentage:  89%

Battery stats don't indicate we're doing anything wrong. Please report to
upower

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2021-04-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |CONFIRMED

--- Comment #2 from Nate Graham  ---
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:  AC
  power supply: yes
  updated:  Tue 20 Apr 2021 07:06:35 AM MDT (307 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:   SMP
  model:5B10W13931
  serial:   2442
  power supply: yes
  updated:  Tue 20 Apr 2021 07:10:36 AM MDT (66 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   charging
warning-level:   none
energy:  46.55 Wh
energy-empty:0 Wh
energy-full: 52.67 Wh
energy-full-design:  51.01 Wh
energy-rate: 10.039 W
voltage: 16.972 V
time to full:36.6 minutes
percentage:  89%
capacity:100%
technology:  lithium-polymer
icon-name:  'battery-full-charging-symbolic'

Device: /org/freedesktop/UPower/devices/tablet_wacom_battery_0
  native-path:  wacom_battery_0
  model:Wacom Pen and multitouch sensor
  power supply: no
  updated:  Tue 20 Apr 2021 07:10:36 AM MDT (66 seconds ago)
  has history:  yes
  has statistics:   yes
  tablet
warning-level:   none
percentage:  0%
icon-name:  'battery-missing-symbolic'

Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o001
  native-path:  ucsi-source-psy-USBC000:001
  power supply: yes
  updated:  Tue 20 Apr 2021 07:06:36 AM MDT (306 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/line_power_ucsi_source_psy_USBC000o002
  native-path:  ucsi-source-psy-USBC000:002
  power supply: yes
  updated:  Tue 20 Apr 2021 07:06:35 AM MDT (307 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/DisplayDevice
  power supply: yes
  updated:  Tue 20 Apr 2021 07:06:35 AM MDT (307 seconds ago)
  has history:  no
  has statistics:   no
  battery
present: yes
state:   charging
warning-level:   none
energy:  46.55 Wh
energy-full: 52.67 Wh
energy-rate: 10.039 W
time to full:36.6 minutes
percentage:  89%
icon-name:  'battery-full-charging-symbolic'

Daemon:
  daemon-version:  0.99.11
  on-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: Hibernate

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2021-04-19 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=435931

David Edmundson  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 CC||k...@davidedmundson.co.uk
 Status|CONFIRMED   |NEEDSINFO

--- Comment #1 from David Edmundson  ---
Probably just some rounding being handled differently

Do we know at this point whether it's our side that's wrong or upower

Can you include your:

upower --dump

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2021-04-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 435931] Charge limit stops 1% short

2021-04-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=435931

Nate Graham  changed:

   What|Removed |Added

   Keywords||usability

-- 
You are receiving this mail because:
You are watching all bug changes.