I do not know if it is also true for PocketBeagle, but there is a tool rc_battery_monitor which shows the voltage at the power supply jack. So you may just look into the sources of the tool.
On Thursday, May 9, 2019 at 8:02:31 AM UTC+2, Dave wrote: > > I am using and OSD3358 based PocketBeaglish Board. > > I need to figure out if the board is running from external power or the > LiPo battery, > Is there an easy means of doing so ? > > Something in sysfs maybe ? > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1c0c963c-9c84-41b4-a6cc-350e6be732a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
