Keyboard Case Power Management Daemon
#1
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.
  Reply
#2
Thumbs Up 
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.
  Reply
#3
(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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pilotlight, a way to save power during long audio playback biketool 3 428 01-10-2025, 03:42 AM
Last Post: biketool
  Virtual keyboard for decrypting the disk LienRag 3 2,512 08-13-2023, 08:34 AM
Last Post: fxc
Lightbulb Article: Experiments for super low PinePhone power consumption with Genode Surehand53 1 2,798 12-27-2022, 02:21 PM
Last Post: Samurai_Crow
  Trouble building (& using) pinephone-keyboard tools 64_Tesseract 6 4,928 08-28-2022, 09:42 PM
Last Post: 64_Tesseract
  Most Power Efficient OS Image jwinarske 0 1,139 07-05-2022, 07:05 PM
Last Post: jwinarske
  Software keyboard question orbital 1 1,595 06-27-2022, 03:18 AM
Last Post: wibble
  Diagnosing power usage with ZZZtop biketool 1 2,269 10-21-2021, 01:23 PM
Last Post: tllim
  Reviewing our Forebearer's Work re:Power Consumption biketool 0 1,448 10-20-2021, 09:51 AM
Last Post: biketool
  PSA: WiFi driver is broken - Unload kernel module to save lots of power Trbl 3 4,904 06-23-2021, 02:28 AM
Last Post: Merc
  gnome-clocks waking the phone via a waking daemon (POC) seath 2 3,707 02-28-2021, 09:50 AM
Last Post: seath

Forum Jump:


Users browsing this thread: 2 Guest(s)