Problem is that bq27200 chip report only one value (there is no active or ide using). New hald-addon-bme sending that dbus signal too, but both values are same. See function hald_addon_bme_timeleft_info in https://gitorious.org/rx51-bme-repla...ld-addon-bme.c
... else if (battery_info->power_supply_status == STATUS_DISCHARGING) { CHECK_INT(power_supply_time_to_empty_avg, libhal_device_set_property_int (hal_ctx, udi, "battery.remaining_time", battery_info->power_supply_time_to_empty_avg, NULL)); } ...
... #define BQ27200_UEVENT_FILE_PATH "/sys/class/power_supply/bq27200-0/uevent" ... fp = fopen(BQ27200_UEVENT_FILE_PATH,"r") ... while(fgets(line,sizeof(line),fp)) { char*tmp; tmp = strchr(line,'='); ... else if(!strcmp(line,"POWER_SUPPLY_TIME_TO_EMPTY_AVG")) battery_info->power_supply_time_to_empty_avg = atoi(tmp); ...
signal sender=:1.27 -> dest=(null destination) serial=48 path=/com/nokia/bme/signal; interface=com.nokia.bme.signal; member=battery_timeleft uint32 4260 uint32 180