Re: /sys/class/power_supply/BAT0/ charge_ vs energy_

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

 



Thanks for your reply. Is this something that is likely to be fixed?

On 9 January 2012 13:37, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
> On Mon, Jan 09, 2012 at 12:10:00PM +0000, Jamie Kitson wrote:
>
>> If I boot with AC plugged in the /sys/class/power_supply/BAT0/
>> directory is populated with charge_*, but if I boot on battery the
>> directory is populated with energy_*.
>>
>> Disconnecting/connecting the power after boot does not effect the file names.
>>
>> Is this a bug or a feature? It makes scripts harder to write than necessary.
>
> It's the way Lenovo's firmware works. It's not clear why.
>
> --
> Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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