Battery Remaining Capacity
I am writing an application to find the current battery capacity in the driver level.
My board has Li_Ion battery.
I can get the following parameters from the battery driver:
I have to find out the remaining battery capacity with the above params.
I read some article which says we have to consider 1)temperature derate factor and 2)depth of discharge to calculate the capacity with accuracy.
Please help me in this regard.
I have gone through the posts made in this forum. All the posts are
discussing about /proc/acpi filesystems.
But my case is different.