lyusupov / SoftRF

:airplane: Multi-functional, compatible DIY general aviation proximity awareness system
GNU General Public License v3.0
756 stars 211 forks source link

T-Beam Turns On When Connecting Charger #135

Closed micheal813 closed 1 year ago

micheal813 commented 1 year ago

I'm powering the T-Beam with a 18650 lipo. I turn off the device and connect a charger via usb. When I do, the device powers back on.

Can you make it so that if the power is off, and a battery is inserted, that it does not turn back on when connecting power via usb to charge?

Thank you.

cdeerinck commented 1 year ago

After you connect to USB, just hold down the power button to turn the software off. I have no idea if the charging will continue to occur at that point. If it does, you have your solution. If it does not, then the controller is being used to assist in the recharge, so your answer would be that it can't happen. It would be nice for you to test that, and report back here.

micheal813 commented 1 year ago

Yes, if I hold the power button, it will turn back off. It also continues charging. I just thought it would be more convenient if you did not have to turn it back off when connecting a charger.

Thank you.

lewisxhe commented 1 year ago

This is set by the PMU. By default, when connecting USB, it will automatically power on by default. It cannot be changed

micheal813 commented 1 year ago

Ok. I didn't know that. Thank you for responding.

lyusupov commented 1 year ago

Resolution: invalid