PINE64
Keyboard Case Power Management Daemon - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Keyboard Case Power Management Daemon (/showthread.php?tid=16134)



Keyboard Case Power Management Daemon - estokes - 02-20-2022

Hi, I've made an attempt at writing the daemon Megi described in his blog post about the keyboard case. It's gone well enough that I thought it was time to share. Initially it only worked on the Pinephone Pro, however I've just released a version (0.1.2) that works on both the PP and the PPP.

https://github.com/estokes/pinephone-kbpwrd

The focus is on maximizing efficiency by avoiding moving charge into the main battery where possible. I'm open to discussion, and especially feedback and data.


RE: Keyboard Case Power Management Daemon - pda64 - 02-21-2022

Nice work! I love that it targets both phone models and is written in Rust.

I read the code + readme and left some comments over on GitHub. Some very interesting ideas in there, thanks for sharing :) I am also doing some independent work in this space, but currently not focused as much on a daemon as on monitoring, visualization and manual charging control. Looking to share my progress soon.

I will be watching your daemon with great interest. Perhaps this is the nudge that I needed to finally learn some more Rust :) I like your code style and the overall lack of complexity. Looks like a step in the right direction.


RE: Keyboard Case Power Management Daemon - estokes - 04-16-2022

(02-20-2022, 09:48 PM)estokes Wrote: Hi, I've made an attempt at writing the daemon Megi described in his blog post about the keyboard case. It's gone well enough that I thought it was time to share. Initially it only worked on the Pinephone Pro, however I've just released a version (0.1.2) that works on both the PP and the PPP.

https://github.com/estokes/pinephone-kbpwrd

The focus is on maximizing efficiency by avoiding moving charge into the main battery where possible. I'm open to discussion, and especially feedback and data.

Megi is integrating this functionality into the kernel (where it honestly belongs IMHO). As such my project is deprecated.

https://xnux.eu/log/#065