Ticket #440 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

Problem with battery applet on gta01

Reported by: geaaru Owned by: ainulindale
Priority: major Milestone:
Component: ophonekitd Version: SHR-unstable
Keywords: gta01 Cc:

Description

I installed shr unstable image and i do an upgrade but i always see a problem with battery applet.
Problem is relative to wrong dbus interface used.
Error from log:

** (process:2012): DEBUG: idle notifier state handler called, id 5
Unknown internal dbus error: Method "GetPowerStatus" with signature "" on interface "org.freesmartphone.Device.PowerSupply" doesn't exist
, 80 (dbus-glib-error-quark), code 19
** (process:2012): DEBUG: power status: -1

With introspect i see that interface is wrong, and so correct method to call is:

dbus-send --type=method_call --print-reply --system --dest="org.freesmartphone.odeviced" \
/org/freesmartphone/Device/PowerSupply/bat_th_gta01 \
org.freesmartphone.Device.PowerSupply.GetPowerStatus
method return sender=:1.16 -> dest=:1.23 reply_serial=2
   string "charging"

I see that there is an string relative to wrong interface on /usr/bin/cli-framework python script. Is it only needed change it?

Change History

comment:1 Changed 4 years ago by dos

  • Owner changed from daniel to ainulindale
  • Component changed from frameworkd / FSO to ophonekitd

comment:2 Changed 4 years ago by dos

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.