[OLSR-users] Re: powerstatus

Andreas T√łnnesen (spam-protected)
Thu Apr 7 19:45:04 CEST 2005

Ok, I've fixed the problem. It was just a one-liner which was a result
of an earlier API change in the APM code. You can either check out the
current power-plugin code tomorrow or change line 606 in
lib/powerinfo/src/olsrd_power.c from:
       msg->percentage = apm_info.ac_line_status;
       msg->percentage = apm_info.battery_percentage;
and recompile/reinstall the plugin.

- Andreas

ken chung wrote:
> [(spam-protected) nfs]# cat /proc/apm
> 1.16 1.2 0x03 0x00 0x00 0x01 100% 109 min
> Thanks

Andreas T√łnnesen

More information about the Olsr-users mailing list