I’m currently developing a mobile app that communicates with an external FTDI USB-C device. I use a device filter with the vendor and product ID to automatically open the application when the device is connected. The serial communication is done using Android’s UsbManager and other native communication classes. The problem I’m having is that the battery life of the smartphone changed drastically. The autonomy of the Samsung Galaxy A50 is usually somewhere between 3 to 4 days. With the FTDI device attached, the autonomy is reduced to 1 day. After communicating with the FTDI device, I make sure that all connections (UsbManager, UsbDeviceConnection…) are closed. Is there anything I can do here to improve battery life of the smartphone?
Thanks in advance!