Recreating MacBook Charge Control on NixOS

After replacing the battery in my 2015 MacBook Pro, I wanted NixOS to stop holding it at 100 percent charge all day.

macOS has proprietary battery-health and optimized-charging behavior. I did not try to reproduce Apple’s prediction model.

I built a deterministic alternative: 80 percent normally, 100 percent after unplugging for travel, then back to 80.

Read more...

Repairing and Reverse Engineering a G3061 Hot Plate

My G3061 mini reflow hot plate had a broken OLED and unreliable USB Power Delivery negotiation.

I repaired both problems and used it for a successful reflow.

Then I tried to understand enough of its display and controls to build a better interface around the closed controller. That second project did not succeed.

Read more...