Charging background knowledge:
There are two ways to charge faster:
The first is to use a higher power AC charger and avoid using USB charging because the current is too low;
The second is to reduce the power consumption and load of the phone as much as possible during the charging process to reduce the loss of electricity.
If the electricity consumption can be reduced, the phone can be charged faster. For example, under normal circumstances, the phone can be charged for 1000mAh in an hour. But if the phone is continuously under high load, such as playing games, watching HD videos or turning on the flashlight, it may consume 300mAh in one hour. In this case, only 700mAh can be charged in one hour. However, if the electricity consumption can be reduced to 100mAh, the phone can be charged for 900mAh in one hour. This means that the charging speed indirectly increased by nearly 30%.
Explanation of the function description:
☆ Try to stop the work of your own background thread when charging.
During charging, avoid running background threads to reduce power consumption.