I do lots of testing of apps in real phones, not emulators.
The thing is that the phones must be connected to the PC all day. Because of this, phones battery get swollen and I have to buy phones regularly.
Do you know any android phone which can be connected and on all day all week without getting swollen after a time?
Must be real phones, emulators are descarted.
Some phones have a setting that limits charge to 80% or another non-100% number. Maybe that would help?
I know several manufacturers that include some form of this feature, Google Samsung, Sony. On Sony it’s called Battery Care.
Google does not include this setting.