How to enable the Smart charging on the Xiaomi phone?

The Smart charging function is to extend the battery life span, the system will learn how you charge your device and stop charging when the battery level reaches 80% in applicable situations. For example, when charging at night, the system will slowly charge to 100% to prevent the battery from being fully charged for a long time.
To enable the Smart charging, please refer to the following steps:
1. Open [Settings];
2. Go to [Battery];
3. Tap [Battery protection];
4. Turn on [Smart charging].
Friendly tips:
The system will detect your phone usage habits and automatically adjust the charging strategy to optimize battery life.