Re: [patch] ACPI battery driver emits POWER_SUPPLY_STATUS_FULL when power lead plugged in

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

 



On Sun, 2009-01-25 at 22:50 +0300, Alexey Starikovskiy wrote:
>  >                       val->intval = POWER_SUPPLY_STATUS_UNKNOWN;
> This last else should return STATUS_NOT_CHARGING, IMHO. We know this
> little bit about it.

I don't think so; I mean it just as well means STATUS_NOT_DISCHARGING.
We don't actually know what the battery is doing internally, hence the
UNKNOWN.

Richard.


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux