Active Topics

 


Reply
Thread Tools
Posts: 126 | Thanked: 160 times | Joined on Aug 2012
#261
In /sys/class/power_supply I see these three modules loaded:
bq24150a-0
bq27200-0
rx51-battery

Where do I modify in bq27200.sh the param -f?
Here instead -e?
if [ ! -e ./i2cget ] ; then
echo "Need ./i2cget"
return

Last edited by pinochio; 2013-10-23 at 21:27.
 

The Following User Says Thank You to pinochio For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#262
ah... this is devel thread.... if you do not know what are you doing - do not do it here in cssu-devel.
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 126 | Thanked: 160 times | Joined on Aug 2012
#263
So where is the right thread?
Where can I find a solution to this problem?
 

The Following User Says Thank You to pinochio For This Useful Post:
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#264
@pinochio

In the bq27200.sh under the line:

Code:
debugechon "Reading values"
there are many lines where the i2cget is used. Insert -f before all the -y like below:

Code:
AR=$(/i2cget -f -y 2 0x55 0x02 w) ; dot
ARTTE=$(/i2cget - f -y 2 0x55 0x04 w); dot
.
.
.
But this doesn't change the fact that the battery shows 50% charge on the statusmenu, even when the voltage is read correctly by the bq27200.sh.
 

The Following 2 Users Say Thank You to Kossuth For This Useful Post:
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#265
Moved the bme stuff to bme thread

http://talk.maemo.org/showthread.php...24#post1382224

I am having a bug with the status-area-applet-battery. It does not show any prediction data on the phone usage. My last phone had the predictions on how long the phone would run on current charge or if the battery wasn't calibrated it told this, but now the text area is empty.

Code:
home/user # dpkg -l | grep bme
ii  bme-rx-51                                           1.0-1                                      Battery Management Entity
ii  hald-addon-bme                                      1.0-1                                      hal battery addon for bme
ii  libbmeipc0                                          1.0-1                                      shared library for communication with Battery Management Entity
home/user # dpkg -l | grep battery
ii  hald-addon-bme                                      1.0-1                                      hal battery addon for bme
ii  status-area-applet-battery                          0.1.24+0m5                                 status area battery applet
I remember that I and pinochio had a problem before (page 18) with the status-area-applet-battery not showing the expected usage/idle times, only the "not calibrated" text. Pali sorted that out then. Now I have different phone (secondhand, flashed during summer, kp52 and thumb), but I think I havent had the usage/idle predictions at all shown on this phone. Maybe there is some problem with my status-area-applet or its installations.

Last edited by Kossuth; 2013-10-24 at 18:38. Reason: Moved the bme stuff to its own thread
 

The Following 2 Users Say Thank You to Kossuth For This Useful Post:
Posts: 126 | Thanked: 160 times | Joined on Aug 2012
#266
Originally Posted by Kossuth View Post
But this doesn't change the fact that the battery shows 50% charge on the statusmenu, even when the voltage is read correctly by the bq27200.sh.
Thank you, it works now.
Have interspersed down to the line:
Code:
debugecho "done."
IMLC=$(./i2cget -f -y 2 0x55 0x7D); dot
fi

debugecho "done."
At my statusmenu the battery shows 100% charge when it is fully charged. Have CSSU stable.

Edit:
This problem was with me only in status-area-applet-battery_1.0-6.

Last edited by pinochio; 2013-10-24 at 09:12.
 

The Following 2 Users Say Thank You to pinochio For This Useful Post:
Posts: 164 | Thanked: 64 times | Joined on May 2013
#267
Originally Posted by Kossuth View Post
I am able to reproduce the bug EDIT: murik (not pinochio) is having. I also have the status-area-applet showing constantly 50% charge. If I charge the battery full overnight and still keep the charger connected I get full battery, but the second I disconnect the charger the bar drops to 50%.

The readout of the bq27200.sh (with the -f):
Code:
home/user # bq27200.sh
LOOPMODE=0
Reading values...........................done.

CSOC: 85 % RSOC: 85 %
Average Current: 281 mA
TTF: 65535 minutes TTE: 345 minutes
NAC: 1615 mAh CACD: 1615 mAh CACT: 1615 mAh 
SI: 12 mA STTE: 7505 minutes
MLI: 1151 mA MLTTE: 82 minutes
AR: 0 mA ARTTE: 65535 minutes
Last Measured Discharge: 1889 mAh
Cycle Count since Learning: 23 Total Cycle Count since last full reset: 23
Reported Battery Voltage: 3874 mV
Battery Gauge die Temperature: 36 C
Flags:	 0x14
	 Charge:0 NOACT:0 IMIN:0 CI:1 CALIP:0 VDQ:1 EDV1:0 EDVF: 0
eeprom data:
	 ILMD=1958 EDVF=3000 EDV1=3248 ISLC=19
	 DMF=14700 nanoVolt SD=201 thousandths of percent per day
	 AGELMD=1 TAPER=97 mA
	 IMLC=979 mA
Readout of hal-device bme:
Code:
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)
  info.product = 'Battery (BME-HAL)'  (string)
  battery.reporting.design = 1282  (0x502)  (int)
  info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
  battery.present = true  (bool)
  battery.voltage.current = 3847  (0xf07)  (int)
  battery.reporting.unit = 'mAh'  (string)
  battery.is_rechargeable = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.charge_level.current = 4  (0x4)  (int)
  battery.charge_level.last_full = 0  (0x0)  (int)
  battery.charge_level.design = 8  (0x8)  (int)
  battery.charge_level.percentage = 50  (0x32)  (int)
  battery.voltage.design = 4200  (0x1068)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.charge_level.capacity_state = 'ok'  (string)
  info.category = 'battery'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.capabilities = { 'battery' } (string list)
  battery.charge_level.unit = 'bars'  (string)
  battery.remaining_time = 0  (0x0)  (int)
  battery.remaining_time.calculate_per_time = false  (bool)
  battery.reporting.current = 641  (0x281)  (int)
  battery.reporting.last_full = 0  (0x0)  (int)
  maemo.charger.connection_status = 'disconnected'  (string)
  maemo.charger.type = 'none'  (string)
  maemo.rechargeable.charging_status = 'off'  (string)
  maemo.rechargeable.positive_rate = false  (bool)
  maemo.bme.version = '1.0'  (string)
installed versions:
Code:
home/user # dpkg -l | grep bme
ii  bme-rx-51                                           1.0-1                                      Battery Management Entity
ii  hald-addon-bme                                      1.0-1                                      hal battery addon for bme
ii  libbmeipc0                                          1.0-1                                      shared library for communication with Battery Management Entity
home/user # dpkg -l | grep battery
ii  hald-addon-bme                                      1.0-1                                      hal battery addon for bme
ii  status-area-applet-battery                          0.1.24+0m5                                 status area battery applet
I remember that I and pinochio had a problem before (page 18) with the status-area-applet-battery not showing the expected usage/idle times, only the "not calibrated" text. Pali sorted that out then. Now I have different phone (secondhand, flashed during summer, kp52 and thumb), but I think I havent had the usage/idle predictions at all shown on this phone. Maybe there is some problem with our status-area-applets or their installations.

Edit: murik was the user having the 49% shown all the time, not pinochio, who was helping him sort it out. Sorry.
do you know where i can download normal version of status-applet?
 

The Following User Says Thank You to murik For This Useful Post:
Posts: 863 | Thanked: 213 times | Joined on Feb 2012 @ Goa
#268
My Status Manu Battery Status is

Battery: Fully Charged
723/723 mAh

whats wrong with this? nd wenever i take off charger it shows 50 charge is dropped, plz suggest something to clear this problem
 

The Following User Says Thank You to seanmcken For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#269
Originally Posted by seanmcken View Post
Battery: Fully Charged
Everybody, what are you doing? Installing BME replacement without any warning or what?

Or are all above problems caused by new/last version of status area applet battery?
 

The Following 5 Users Say Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#270
AGAIN this thread is not about BME replacement, so please do not report problems here....
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Reply

Tags
easter egg, lockslider


 
Forum Jump


All times are GMT. The time now is 02:26.