https://bugzilla.kernel.org/show_bug.cgi?id=205939

--- Comment #5 from Zhang Rui (rui.zh...@intel.com) ---
Hah, this becomes more complex.
Now we have an ACPI battery device, and its charge_{start,stop}_threshold
attributes are created by thinkpad_acpi.

acpi battery driver knows the current capacity but it does not know the
threshold, the same thing applies to thinkpad_acpi driver.

power_supply class is the only place that knows all the information to do this
trick.
1. calculate charge_end_capacity from charge_end_threshold
2. compare the current capacity and the expected charge_end_capacity, and
override the battery status to something like "Full"?

I will get some feedback of this idea and come back later.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to