nakhonthai / ESP32APRS_T-TWR

APRS Software project device support LILYGO T-TWR Plus.
GNU General Public License v3.0
117 stars 18 forks source link

[Feature] Shutdown when USB is disconnected #47

Open hofmand opened 2 weeks ago

hofmand commented 2 weeks ago

I use this in my car. If it could shutdown automatically when the USB is disconnected, then it would startup when the car starts and shutdown when the ignition is off. The current workarounds are to remove the battery or power down manually with the power button.

Optionally, some might want a configurable delay, others might want a prompt on the screen asking whether to stay on.