From: Federico Di G. <fo...@in...> - 2002-09-29 20:51:10
|
Il dom, 2002-09-29 alle 19:55, Hanno B=F6ck ha scritto: > I'm currently working on a patch for the gnome battery-applet (battstat-a= pplet) to work with two batteries. > Now I have a version working with two batteries, but it would not work if= there are more than two batteries. > So I wanted to know if there are laptops which can have more than two bat= teries at the same time? > If not, my patch is fine. If yes, I would have to enhance it. as any other people patching batstat-applet, you're hardcoding into it the names of *your* apci devices. my ac/dc is names AC (and not ACDC like yours) and the battery is BAT0. the _only_ way to have a battstat working with any hardware is to scan the /proc directories and use the names found here. --=20 Federico Di Gregorio Debian GNU/Linux Developer & Italian Press Contact fo...@de... INIT.D Developer fo...@in... Se si insegna a un bambino a programmare in qualche linguaggio informatico, questo esercizio logico lo render=E0 padrone e non schiavo del computer. -- Umberto Eco |