[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109344: /boot/vmlinuz-6.12.35+deb13-amd64: uevent field power_supply/BAT1/uevent:POWER_SUPPLY_CURRENT_NOW now -ve



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 to: