0

I am developing an Android app and it needs to be able to run on a phone for a long time so will likely be plugged into a power source and need to charge whilst running. Using a USB current meter I can see that the phone normally does charge whilst running with this arrangement, but when I fire up the app that I am developing the current drops from 1.8A to 0.9A, then to 0.47A and then to 0.09A event though the phone is only 30% charged. If I kill the app, the current immediately goes back up to 1.8A.

Is there some Java API call that I may be inadvertently using that would limit the current drawn, or alternatively a phone setting that may be causing this?

The phone is a CAT S62 Pro, running Android 11, the app is a thermal imaging app using FLIR's SDK. It is probably fairly power hungry so there might be some thermal management thing happening I guess which is limiting the power drawn to keep things cool - but that feels unlikely.

I have tried turning on and off the following battery settings: battery saver, battery manager, smart charging, always on charge mode - none of these seem to have any effect on the issue.

0 Answers0