On Wed, Jul 16, 2025 at 09:23:06AM +0200, Salvatore Bonaccorso wrote:
> If that is sucessfull we would appreciate if you can take it to
> upstream involved people to ask if the side effect you are seeing is
> considered a regression bug or to be kept deliberately.

The commit seems to answer that already:

| […] the kernel ABI for POWER_SUPPLY_PROP_CURRENT_NOW
| (Documentation/ABI/testing/sysfs-class-power) specifies that it should
| be negative when a battery is discharging. When reporting CURRENT_NOW,
| massage the value to match the documented ABI.

Bastian

-- 
If some day we are defeated, well, war has its fortunes, good and bad.
                -- Commander Kor, "Errand of Mercy", stardate 3201.7

Reply via email to