Bug 455211

Summary: Charge thresholds not supported
Product: [Unmaintained] Powerdevil Reporter: Yaron Shahrabani <sh.yaron>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Yaron Shahrabani 2022-06-13 12:54:40 UTC
STEPS TO REPRODUCE
1.  Install postmarketOS on Nexus 7
2. Install postmarket-ui-plasma-mobile
3. Modify startup parameters and start plasma mobile with tinyrc

OBSERVED RESULT
The following error message in the error log

EXPECTED RESULT
Should disappear and the thresholds should work

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Alpine 3.16/5.24.5
KDE Plasma Version:  5.24.5
KDE Frameworks Version:  5.95.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Plasma Mobile on Nexus 7 using postmarketOS with some customizations done by postmarketOS developers, has software acceleration instead of hardware due to missing Tegra 3 support.
Comment 1 Yaron Shahrabani 2022-06-13 12:55:04 UTC
(In reply to Yaron Shahrabani from comment #0)
> STEPS TO REPRODUCE
> 1.  Install postmarketOS on Nexus 7
> 2. Install postmarket-ui-plasma-mobile
> 3. Modify startup parameters and start plasma mobile with tinyrc
> 
> OBSERVED RESULT
> The following error message in the error log
> 
> EXPECTED RESULT
> Should disappear and the thresholds should work
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma:  Alpine 3.16/5.24.5
> KDE Plasma Version:  5.24.5
> KDE Frameworks Version:  5.95.0
> Qt Version: 5.15.4
> 
> ADDITIONAL INFORMATION
> Plasma Mobile on Nexus 7 using postmarketOS with some customizations done by
> postmarketOS developers, has software acceleration instead of hardware due
> to missing Tegra 3 support.

The full message is:
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds not supported"
Comment 2 Nate Graham 2022-06-14 17:19:29 UTC
Yep, it means what it says. The feature is not supported on your hardware. :) You'll need to report this to the kernel or hardware developers.
Comment 3 Nate Graham 2022-06-14 17:22:29 UTC
Git commit 8146f02542fd9463b6d23e258b4f9bbe727edccc by Nate Graham.
Committed on 14/06/2022 at 17:21.
Pushed by ngraham into branch 'master'.

Make "charge thresholds not supported" error message more explicit

Hopefully this will make it clear whose fault it is (i.e. not ours).

M  +2    -2    daemon/chargethresholdhelper.cpp

https://invent.kde.org/plasma/powerdevil/commit/8146f02542fd9463b6d23e258b4f9bbe727edccc
Comment 4 Yaron Shahrabani 2022-06-14 18:15:01 UTC
Yup, thanks Nate for all your awesome work!
Comment 5 Nate Graham 2022-06-14 18:42:36 UTC
You're welcome!