Bug 434291

Summary: Low battery notification on my computer says my battery is at 16% when it’s at 15%
Product: [Applications] kdeconnect Reporter: ariasuni <aria>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: CONFIRMED ---    
Severity: normal CC: kdedev, theodorettshaw
Priority: NOR    
Version First Reported In: 23.08.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ariasuni 2021-03-11 16:56:09 UTC
SUMMARY


STEPS TO REPRODUCE
1. Connect your phone to your computer with KDE Connect
2. Wait for your battery to go to 15%
3. Observe the low battery notification on the computer

OBSERVED RESULT
Notification says my phone is at 16% battery while it’s not what my phone says.

EXPECTED RESULT
Notification says my phone is at 15% battery, same as my phone says.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
KDE Connect 20.12.3
Comment 1 TraceyC 2024-02-06 21:16:00 UTC
*** Bug 480717 has been marked as a duplicate of this bug. ***
Comment 2 TraceyC 2024-02-07 01:01:23 UTC
I was able to reproduce this on my system

## Steps to reproduce

Phone is connected to a laptop with kdeconnect
Set battery "Stamina Mode" on the phone to be activated at 70% battery
Waited for low battery notification from the phone
Bug confirmed. Battery on the phone was at 70%. 
Notification received on Plasma desktop reads "Battery at 71%"


## System details

kdeconnect 23.08.4

Operating System: Solus 4.5
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.6.15-272.current (64-bit)
Graphics Platform: X11
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 62.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Manufacturer: Dell Inc.
Product Name: XPS 17 9710