Stéphane BAULAND wrote: > Hi, > > This patch is just a simple patch. I had problem using the battery > module, it wasn't working for me. I was bored and i look to sources of > badget... The problem comes from the name of the device. > > For me the battery path is : /sys/class/power_supply/C1FD/ and the > module was looking to a name that begin by "bat" i just removed this > check. > You can't just remove this check. The reason this check exists is because there can be AC data in the power_supply directory as well. We'll have to come up with a better way to determine if the supply is a battery or not. > See you. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
