I use the built in battery and it works great I Can monitor it as well

On 6/7/2019 10:18 AM, Indiaaditya Networks wrote:
Don't know how one could do that....
/Although the PMIC supports direct connection of a Li-ion battery (including charging), this functionality is not officially supported on any BeagleBone. Nevertheless, the terminals for this are available on an unplaced header (pins labled TP5-TP8) for experimentation. /
/Source: /https://elinux.org/BeagleBone_Power_Management


Kind regards,
Aditya Ayachit

On Fri, Jun 7, 2019 at 9:06 PM evilwulfie <[email protected] <mailto:[email protected]>> wrote:

    The PMIC has registers you can read to see what source you are using

    On 6/7/2019 6:18 AM, Indiaaditya Networks wrote:
    I think you will need to do it by adding some hardware to detect
    if external power supply is present or not. If external supply is
    absent and you are executing some code then you are on battery.
    Simple comparator circuit should do it.

    Kind Regards,
    Aditya Ayachit

    On Thu, Jun 6, 2019 at 1:57 PM n ithinu <[email protected]
    <mailto:[email protected]>> wrote:

        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]
        <mailto:[email protected]>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/beagleboard/1c0c963c-9c84-41b4-a6cc-350e6be732a5%40googlegroups.com
        
<https://groups.google.com/d/msgid/beagleboard/1c0c963c-9c84-41b4-a6cc-350e6be732a5%40googlegroups.com?utm_medium=email&utm_source=footer>.
        For more options, visit https://groups.google.com/d/optout.



-- Indiaaditya Networks.... Embedded System development
    For industries customised needs
-- 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]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/beagleboard/CAFn1SnPFt2Q4BiD3sKxUSzaaU3-YwTZPcDj%3DZT5fkYsw3BHEjg%40mail.gmail.com
    
<https://groups.google.com/d/msgid/beagleboard/CAFn1SnPFt2Q4BiD3sKxUSzaaU3-YwTZPcDj%3DZT5fkYsw3BHEjg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
    For more options, visit https://groups.google.com/d/optout.

-- 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]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/beagleboard/7da63053-3270-abc7-0bf5-a309177aaf42%40gmail.com
    
<https://groups.google.com/d/msgid/beagleboard/7da63053-3270-abc7-0bf5-a309177aaf42%40gmail.com?utm_medium=email&utm_source=footer>.
    For more options, visit https://groups.google.com/d/optout.



--
Indiaaditya Networks.... Embedded System development
For industries customised needs
--
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAFn1SnOAk2XpRgOmaoErf7g7TXTy_TS8c4FCtB9BsBCeR98wjw%40mail.gmail.com <https://groups.google.com/d/msgid/beagleboard/CAFn1SnOAk2XpRgOmaoErf7g7TXTy_TS8c4FCtB9BsBCeR98wjw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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/83452729-0817-f57e-9978-c97d4ca0db43%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to