Hacker News new | ask | show | jobs
by penkia 2503 days ago
We're using the MCU to swtich power source between USB charging or battery, using it's ADC to serve as a voltage divider to get actual AD value from the battery, and a MP2636GR chip for charging and voltage step-up.

So yay battery percentage! ;-)

1 comments

How do you do the switching? Using a MOSFET or something else?