Mesh (Argon/Xenon) detecting USB power loss

The Boron uses a dedicated fuel gauge (which Argon and Xenon lack) and a special charging controler (the same PMIC as on Electron) which should be used instead.

Hence you could try the way it would be done with the Electron