[PATCH] frameworkd battery status reporting

Neil Jerram neiljerram at googlemail.com
Sun Feb 28 12:50:59 CET 2010


On 28 February 2010 02:54, Sebastian Reichel <elektranox at gmail.com> wrote:
>
> I'm pretty sure the power stuff works with fso-deviced, because the
> SHR idle screen uses them and I get correct feedback from it.

Hi Sebastian,

Thanks for your interest in this.  The problem (in some sense) may be
that I'm using openmoko-panel-plugin.  Does Debian still install this
by default?

I've put my o-p-p log up at
http://www.ossau.uklinux.net/opp-20100227-2300.log.  I guess that the
relevant parts of it are those that say:

====================
ERROR:root:error while calling DeviceIface.GetPower() - assuming 0
	(org.freedesktop.DBus.Error.UnknownMethod: Method "GetPower" with
signature "" on interface "org.freesmartphone.Device.PowerControl"
doesn't exist
)
INFO:root:entering dbusReInit of usb
INFO:root:entering spreadDBusFailure
INFO:root:entering init for battery
INFO:root:error on setting up and probing dbus-interface
	(org.freedesktop.DBus.Error.UnknownMethod: Method "GetInfo" with
signature "" on interface "org.freesmartphone.Device.PowerSupply"
doesn't exist
)
INFO:root:assuming hardware is GTA01 ..
====================

but I haven't yet correlated this output to the o-p-p code, to check
that they're important.

The observable symptom is that the o-p-p battery icon stays
permanently as an empty rectangle.  I.e. it shows neither battery
level nor charging status.

When you mention SHR, do you mean SHR in Debian, or the complete SHR
distro?  There are commits at git.freesmartphone.org that look like
they add the missing methods, and I would guess that the complete SHR
distro is using an fsodeviced that includes these.  Alternatively,
maybe the SHR idle screen does not rely on these methods?

> Currently ousaged is still the default in Debian, but I plan to
> change this with one of the next fso-config updates, so it would be
> nice to get some feedback from you :)

Do you really mean ousaged here?  FWIW, I've been using fsousaged
(instead of ousaged) for a long time now - actually I can't even
remember when and why I switched - and it seems fine.

Regards,
         Neil



More information about the Smartphones-userland mailing list