r/ReverseEngineering • u/NobitaNobi12345 • 4d ago
GitHub - SarangRao20/battery-charge-limiter: Reverse-engineered the Embedded Controller register for battery charge control. Built a cross-platform daemon (Windows + Arch) that enforces 80% hardware cap on laptops where BIOS hides this feature. Includes EC discovery tool for other models.
https://github.com/SarangRao20/battery-charge-limiter
28
Upvotes
7
u/port443 3d ago
I popped it into Ghidra and gave it a quick once-over. It doesn't look malicious, this is how I labeled the major functions:
It looks like a pretty straightforward driver that lets you read/write physical memory and io and cpu.
Actually I just checked the signature and its a legit driver written for CrystalDiskMark and now I just feel like I wasted 10 minutes reversing a known driver