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

Re: [PATCH] apm-emu displays time till battery is fully charged



> > It is nice having the gnome-battery applet display the time until the
> > battery is fully charged - isn't it ?
>
> Why not use /proc/pmu/ for this? Do the real apm has this facility? Maybe
> it is not implemented, because it couldn't be there.

Most userland code is written for /proc/apm (hence the emulation hack). If
you can get the gnome-battery etc. authors convinced to try /proc/pmu/
before /proc/apm we would indeed not need apm-emu. /proc/pmu/ would even
know about multiple batteries, voltage, current, to name a few.

	Michael



Reply to: