Re: swsusp: don't eat ide disks

David Woodhouse (dwmw2@infradead.org)
Mon, 11 Nov 2002 06:38:16 +0000


pavel@ucw.cz said:
> Yes... But how should "generic" battery info look like?
> On apm you only know percentages and ETA left.
> On acpi you know voltages, capacities and present rate.
> On zaurus you only know voltages.
> It will be quite hard to decide "one correct interface". It should
> probably be called "/proc/power".

Battery info call returns a structure where some elements can be 'unknown'.
ACPI does it like that already, IIRC -- it's not mandatory to actually fill
in every field correctly.

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/