The application will help you find out how much capacity is left in your battery
1.In order for the application to show the remaining capacity, put the device on charge, while the service must be turned on.
2.For a more accurate display of the remaining capacity, charge the device fully until "Status: Charged" is displayed.
3.If charging occurs after reaching 100%, then this is normal. Modern devices continue to charge for some time after reaching 100%.
4.If the design capacity is incorrect, change it in the application settings.
5.If the current capacity and/or charge/discharge current and/or voltage is not displayed correctly, then change the unit in the application settings.
ATTENTION! Do not kill the service. If the shell of your device likes to "kill" applications, or completely "kills" applications when cleaning the most recently launched applications or when removing an application from the most recently launched applications, or you use power saving, add this application to all possible exceptions. If your firmware has an application startup setting, be sure to ensure that this application can start after loading the OS, if you want the application to start automatically after loading the OS
Question: How does the app work?
Answer: Residual capacity is formed on the basis of the current capacity upon reaching 100% and the status of "Charged". During charging, an "attempt" is made to find out the residual capacity by the following formula: current capacity / (battery level / 100). If the charge level = 1% or 0%, or when it reaches 100%, charging continues, then instead of calculating, the current capacity is displayed in the remaining capacity. The current capacity is taken from the kernel of the OS, by the Android API itself, which allows you to get the current capacity without root rights. The kernel takes the current capacity from the battery itself and writes it to the "charge_counter" file (file path: /sys/class/power_supply/battery). On how accurate the current capacity depends on the battery and the core itself.
Question: What is considered to be "Capacity Added"?
Answer: "Capacity Added" is considered very simple: the current capacity - capacity, which was before you connected the charging.
Question: I have everything (or almost everything) in zeros. Why?
Answer: Because the manufacturer of your device has saved on various sensors. And since the kernel cannot get the value, it returns 0.
Question: Very large or small numbers are shown in the current capacity, charge/discharge current, voltage.
Answer: Go to the settings, in the "Misc" section, expand all the settings and change the unit of measurement.
Question: The current capacity has ceased to be displayed, although it was previously displayed (or is displayed, but not always).
Answer: This means that the battery is coming or has already come to an end. If everything is in order with the battery, then the firmware kernel or the controller, which gives the current capacity, may be buggy.
Question: The device is not supported. Add device support.
Answer: Alas, this is impossible, since it depends primarily on the battery and secondarily on the OS kernel. Therefore, setting 1 and writing about what is not supported, as well as asking to add support for a device, is pointless. You can bet 1, but think about it three times: is it worth spoiling the average rating for the application due to the fact that your battery or core does not give up the current capacity?
If you want to help with the translation and you do not have a GitHub account, then follow this link: https://drive.google.com/drive/folders/1DoBUA5wye-vGw8Me6b-7Y44iXfpBSu91
All suggestions for improving the application should be written to E-Mail: [email protected]
or to Telegram: @Ph03niX_X