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
  Trouble building pinephone-keyboard tools 64_Tesseract 2 335 08-11-2022, 02:52 AM
Last Post: 64_Tesseract
  Most Power Efficient OS Image jwinarske 0 172 07-05-2022, 07:05 PM
Last Post: jwinarske
  Software keyboard question orbital 1 193 06-27-2022, 03:18 AM
Last Post: wibble
Exclamation PinePhone keyboard usability: no phone ring with headphones e1337 16 5,476 01-03-2022, 05:34 AM
Last Post: e1337
  Diagnosing power usage with ZZZtop biketool 1 873 10-21-2021, 01:23 PM
Last Post: tllim
  Reviewing our Forebearer's Work re:Power Consumption biketool 0 563 10-20-2021, 09:51 AM
Last Post: biketool
  PSA: WiFi driver is broken - Unload kernel module to save lots of power Trbl 3 2,323 06-23-2021, 02:28 AM
Last Post: Merc
  gnome-clocks waking the phone via a waking daemon (POC) seath 2 1,916 02-28-2021, 09:50 AM
Last Post: seath
Music Running textbased spotify client with a spotify daemon for native playback yeold 0 1,570 02-12-2021, 04:48 AM
Last Post: yeold
  Power Consumption Monitoring Software? Lousy Fisherman 0 1,215 11-22-2020, 03:20 PM
Last Post: Lousy Fisherman

Forum Jump:


Users browsing this thread: 1 Guest(s)