Reply
Thread Tools
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#161
Are you using bme replacement or not? From your output I see that your battery is totally empty (CSOC: 0 % RSOC: 0 % NAC: 0 mAh CACD: 0 mAh CACT: 0 mAh). And in this state if capacity is 0mAh status menu plugin will show that message about uncalibrated battery. Also please provide output of command: hal-device bme
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#162
I'm not sure what bme I'm using, I don't remember changing intentionally anything battery related packages when the statusarea applet appeared and when it changed to displaying the not calibrated text. I just upgraded all the packages that were marked as upgradeable.

Here's the output:
/home/user # hal-device bme
udi = '/org/freedesktop/Hal/devices/bme'
info.addons = { 'hald-addon-bme' } (string list)
battery.type = 'pda' (string)
info.subsystem = 'unknown' (string)
battery.voltage.design = 4200 (0x1068) (int)
info.product = 'Battery (BME-HAL)' (string)
info.udi = '/org/freedesktop/Hal/devices/bme' (string)
battery.reporting.unit = 'mAh' (string)
battery.present = true (bool)
battery.voltage.current = 3938 (0xf62) (int)
battery.charge_level.current = 6 (0x6) (int)
battery.charge_level.last_full = 0 (0x0) (int)
battery.reporting.design = 1278 (0x4fe) (int)
battery.charge_level.design = 8 (0x8) (int)
battery.charge_level.percentage = 66 (0x42) (int)
maemo.charger.type = 'none' (string)
maemo.charger.connection_status = 'disconnected' (string)
maemo.rechargeable.charging_status = 'off' (string)
maemo.rechargeable.positive_rate = false (bool)
battery.remaining_time = 14400 (0x3840) (int)
battery.charge_level.capacity_state = 'ok' (string)
battery.charge_level.unit = 'bars' (string)
battery.rechargeable.is_charging = false (bool)
battery.rechargeable.is_discharging = true (bool)
battery.reporting.last_full = 0 (0x0) (int)
info.category = 'battery' (string)
battery.reporting.current = 851 (0x353) (int)
battery.remaining_time.calculate_per_time = false (bool)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.capabilities = { 'battery' } (string list)
battery.is_rechargeable = true (bool)
battery.voltage.unit = 'mV' (string)

Ps. the bq27200.sh I'm using is from here, I think there are several versions out there

http://wiki.maemo.org/User:Joerg_rw/jrbme/bq27200

Edit: I have USB-hostmode installed, back from the time when I had usb-port, so I might have the bme-replacement, if it comes with the hostmode packages.

Last edited by Kossuth; 2013-05-08 at 10:59.
 

The Following User Says Thank You to Kossuth For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#163
Code:
battery.reporting.current = 851 (0x353) (int)
Data for applet are there... I will try to find out why are not used.
@Kossuth: Can you give me output of this?
$ apt-cache policy status-area-applet-battery
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#164
I pushed to cssu-devel new version of system-services (part of upstart) nad ke-recv packages. New version has fixed generating /etc/fstab when maemo is installed on eMMC or SD card and has support for *static* /etc/fstab. And there is also support to run fsck on all partitions before mouning (/home and all other eMMC/SD card).

WARNING: Before installing new version of system-services package make sure you 1) do not have installed package kernel-power-settings or 2) have upgraded kernel-power-settings to version 0.17 (it is in extras-devel). Otherwise device can be unbootable!
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#165
/home/user # apt-cache policy status-area-applet-battery
status-area-applet-battery:
Installed: 1.0-6
Candidate: 1.0-6
Version table:
*** 1.0-6 0
500 http://maemo.merlin1991.at fremantle/free Packages
100 /var/lib/dpkg/status
0.1.24+0m5 0
500 https://downloads.maemo.nokia.com ./ Packages
/home/user #

Edit: I tried switching the usb-mode from peripheral to host with boost and after announcing stopping bme, the batterymeter went to 0% and I got it back only after returning to peripheral mode. Is this normal?

Last edited by Kossuth; 2013-05-08 at 19:47.
 
Posts: 126 | Thanked: 160 times | Joined on Aug 2012
#166
Originally Posted by pali View Post
I pushed new version of status-area-applet-battery to cssu-devel. It fixing problem that sometimes battery info was unknown but BME provided data.
I install it on CSSU-stable and I have "Not data or Battery is not calibrated".

/home/user/MyDocs # dpkg -i status-area-applet-battery_1.0-6_armel.deb
(Reading database ... 23307 files and directories currently installed.)
Preparing to replace status-area-applet-battery 1.0-4 (using status-area-applet-battery_1.0-6_armel.deb) ...
Unpacking replacement status-area-applet-battery ...
Setting up status-area-applet-battery (1.0-6) ...
gconftool-2: I've been haxored to use xml::/etc/gconf/gconf.xml.defaults as the config source.
Resolved address "xml::/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
Attached schema `/schemas/apps/osso/status-area-applet-battery/use_design_capacity' to key `/apps/osso/status-area-applet-battery/use_design_capacity'
Installed schema `/schemas/apps/osso/status-area-applet-battery/use_design_capacity' for locale `C'

Version 1.0-4 has worked reasonably well.
 

The Following User Says Thank You to pinochio For This Useful Post:
panjgoori's Avatar
Posts: 1,239 | Thanked: 1,278 times | Joined on Aug 2011 @ Balochistan
#167
hi. im not getting "Not data or battery is not calibirated" error. but my battery percentge is at 100 percent since last night. screenshot attached.

edit. im using CSSU-Thumb
Attached Images
 

Last edited by panjgoori; 2013-05-09 at 03:41.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#168
@panjgoori: Do you have bme replacement or normal bme?
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#169
Originally Posted by Kossuth View Post
Edit: I tried switching the usb-mode from peripheral to host with boost and after announcing stopping bme, the batterymeter went to 0% and I got it back only after returning to peripheral mode. Is this normal?
usbmode needs to turn off bme, but loading kernel drivers which provide battery information. after some seconds (30-60) battery applet should use these data and show them in applet.
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#170
@pinochio and @panjgoori: please provide output too:
$ hal-device bme
 
Reply

Tags
easter egg, lockslider


 
Forum Jump


All times are GMT. The time now is 00:41.