Dimming the charging LED on the Motorola G7 Power (LineageOS) 0 ▲ twm's blog 183 days ago · 8 min read1604 words · Tech · hide · Fediverse post AI;DR – This blog post was mostly generated by Claude (via Claude Code), as was the script which is described here. If you don’t want to read “AI slop”, stop reading now. One small thing about my Motorola G7 Power (codename ocean) had been bugging me ever since I put LineageOS on it: the little LED that lights up while the phone is charging glows in a harsh, bright white. On the original stock firmware I remembered it as a softer, dimmer light. I wanted that back. What follows is how I chased it down, what I got wrong along the way, the one-line change that actually fixes it, and the considerably less small effort it takes to make that change survive a reboot. Poking at the LED live, without rebuilding anything The nice thing about Android LED control is that it lives in sysfs, under /sys/class/leds/. You can write to those files as root and the LED reacts instantly, which makes it perfect for trial and error: no compiling, no flashing, and nothing is permanent until you decide it… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town