Hi Tassilo,
That doesn't sound too hard to deal with, and neither does Jim Ottaway's
request about multiple batteries. I don't have access to a machine with
a 2.6.25 kernel at the moment, but if no-one has done this by the end of
the summer when I should have some more free time, I'll sort it out.
Cheers,
Ian.
Tassilo Horn <address@hidden> writes:
"Bill Clementson" <address@hidden> writes:
Hi,
Since you're making mods to battery.lisp, how about making BAT0 a
defvar instead of hard-coding it. On my laptop, the directory is
"CMB0" instead of "BAT0".
And with kernels 2.6.25+ the whole stuff has moved to
/sys/class/power_supply/ and uses another format, e.g. one file per
setting and no file with different settings and headers to distinguish
them. Also, when there's no battery attached, the directory won't even
exist.
Bye,
Tassilo
_______________________________________________
Stumpwm-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel