Active Topics

 


Reply
Thread Tools
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#21
I think I know whats the problem is about. Battery icon *does* starts upgrading, but only after capacity drops below "design", and only in relation to that "design" capacity.

So, for example, if one have 1700 mAh relative capacity, and design is reported (via resistor) as 1000 mAh, battery icon will show full all the time until capacity drops below 1000 mAh, even if rest of the applet report everything (percentage, charge, capacity current and max) correctly. Then, at 500/1700 mAh, battery icon will show half the battery full (500/1000 mAh, took from design), etc.

Everything written above is unrelated to gconf entry about using design capacity - it seems that bug about using design as max capacity for calculating what icon to show is hardcoded somewhere else in the applet.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#22
i've noticed that "i2cget" util does not seem to work anymore. i get this error message:

"Could not set address to 0x55: Device or resource busy"

for "/usr/bin/i2cget -y 2 0x55 0x06 w" for example.

Is this related to calibration?
 

The Following 2 Users Say Thank You to impeham For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#23
Use i2cget -f. It is safe for bq chips when using bq linux kernel drivers.

It is because kernel drivers bind to bq i2c chips.
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#24
pali, any progress on:
http://talk.maemo.org/showpost.php?p...0&postcount=21

...? It seems that issue is quite clearly manifested, and it's quite irritating bug, to say at least. No pressure, all understanding - just wondering, how things are looking.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#25
Estel, sorry but I did not have time yet... If somebody else have some free time try to hack...
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 1,424 | Thanked: 2,622 times | Joined on Jan 2011 @ Touring
#26
I will have time to do this again and deal with any possible negative consequences in a few days, just to be sure though...
1-install(or have) up to date Kernel Power
2-add repo
3-apt-get update and upgrade
4-profit
Missing anything?
 

The Following 3 Users Say Thank You to biketool For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#27
4. Be sure, that you have cssu-testing installed - or at least new battery applet and it's dependencies from cssu-testing repo.

5.
Code:
gconftool-2 -s -t int /apps/osso/status-area-applet-battery/use_design_capacity 0
Saves lot of frustration with getting completely BS values posing as correct, when battery gauge is not calibrated (at all 0 like, lost calibration data due to battery out of device for too long and dead bupbat).

6. Reboot

7. profit

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Posts: 1,424 | Thanked: 2,622 times | Joined on Jan 2011 @ Touring
#28
Originally Posted by Estel View Post
4. Be sure, that you have cssu-testing installed - or at least new battery applet and it's dependencies from cssu-testing repo.
I assume that thumb unstable will have everything I need. About CSSU=testing
I bet scrip will really help with double-scud.
edit...
Cool, it installed good this time, works. Is there a man page for the new features?

Last edited by biketool; 2014-08-20 at 11:54.
 

The Following 2 Users Say Thank You to biketool For This Useful Post:
Posts: 1,424 | Thanked: 2,622 times | Joined on Jan 2011 @ Touring
#29
I will put the instructions to install BME replacement in the Qi how-to just need the command to enable both temporary and permanent to use unshorted data lines USB for charging.
 

The Following User Says Thank You to biketool For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#30
Code:
echo dedicated /sys/class/power_supply/bq24150a-0/mode
Not sure what you mean by "temporary and permanent". This one sticks until reboot (to be precise, until module's load/unload, I think). If you want it permanent, you can put a script doing it in /etc/event.d/, but you wouldn't be able to connect to PC (or hostmode, or USB Networking, or...).

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2014-08-24 at 13:57.
 

The Following User Says Thank You to Estel For This Useful Post:
Reply

Tags
bme-replacement


 
Forum Jump


All times are GMT. The time now is 12:09.