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