Datastore & backup - request for help

Martin Langhoff martin.langhoff at
Tue May 20 18:34:46 EDT 2008

On Tue, May 20, 2008 at 11:43 PM, Bert Freudenberg <bert at> wrote:
> Ah, Marco rightly pointed out hal-get-property. Much easier that way:
> hal-get-property --udi $battery --key battery.charge_level.percentage
> hal-get-property --udi $ac_adapter --key ac_adapter.present

Great! Each portable check is about 60ms vs 30ms for me, so I've added
the portable version if we can't find the OLPC-specific entries under
/sys. Done and pushed out.

Now, is there a reasonable way to check for whether we are in a school mesh?


 martin.langhoff at
 martin at -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first

More information about the Devel mailing list