Electron Power Managment on Four AA Batteries

Thanks, found the references but kinda of in the dark how to proceed. Can you give a basic example on what I am trying do?

What would happen if I connected 4AA batteries to the LiPo jack on the Electron and made sure that I would never plug the Electron into a USB port while connected to the AA s? Would this solve my problem? I have a JST connector I could use.