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