this makes modules with a binary helper simpler to build using the
parent module build harness as much as possible. i probably could
simplify this down to a single binary only and it is either setuid or
not... define the deps and flags ... it could be a bit simpler. not
much. i also removed the if's in the build for battery and ifdefs in
src handle it instead (imho simpler to maintain in src). sysinfo still
uses the if's there.
- const where it's due
- reorder functions
- break loop as soon as "Online" property is found on dict
- add missing proxy unrefs
- fix crash if upower reports a battery with technology known to it but
unknown for us
- refactor _bat_get_call_cb(): this could be much simpler if upower used
the default signal for notifying property changes. Since it doesn't,
at least decrease a little bit the amount of code.
- use eina_stringshare_replace() instead of del() + add()
- remove check for message signature. If it doesn't have the signature
we are expecting, edbus_message_iter_arguments_get() will fail.
- fix indentation using tab
SVN revision: 81976