On Fri, Mar 10, 2023 at 05:30:05PM +0100, Manuel Bouyer wrote: > On Fri, Mar 10, 2023 at 09:46:50PM +0530, Mayuresh wrote: > > On Fri, Mar 10, 2023 at 09:10:04AM +0100, Manuel Bouyer wrote: > > > The olimex boards have an embeeded LIPO charger, it is part of > > > the AXP209 PMU used on the board. You can even monitor the battery status > > > from NetBSD: > > > > Can you also control the charging - say I want to switch off charging at > > 80% charge level and switch it on again when it drops to 40%? > > Not with the NetBSD driver; I don't know if the axp209 can do it.
But you could put a mosfet on the main power supply and drive it with a GPIO :) -- Manuel Bouyer <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --
