![]() |
Re: Battery consumption analysis
Is the bq27200 connected to the OMAP or to another chip? Nokia's kernel does not include the BQ27200 kernel.
|
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
I would also like to get some powertop functionality added to battery eye and maybe a step by step guide to geting the data from sqlite into excel, I would love to do some analysis on whats eating what even better would be to get a few weeks worth of data from as many folks as possable...
|
Re: Battery consumption analysis
0xAA and 0xAB includes the write byte, I think you should be looking at address 0x55..
|
Re: Battery consumption analysis
Quote:
The bq27200 supports the standard I2C read, incremental read, quick read, and one byte write functions. The 7-bit device address (ADDR) is the most significant 7 bits of the hex address and is fixed as 1010101. The 8-bit device address is therefore 0xAA or 0xAB for write or read, respectively |
Re: Battery consumption analysis
With SmartReflex enabled I've seen an extra day of battery. Up to 3 days without needing a recharge. This is with light usage and only one or two short calls.
|
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
Quote:
P.S. Thanks for the great program! |
Re: Battery consumption analysis
Quote:
probably his driver is in closed source of nokia drivers or low level driver has minimal implementation . why is not listed in i2c list of drivers i don't figure yet but i keep searching the code |
Re: Battery consumption analysis
2 Attachment(s)
according to schematics it is a battery fuel gauge on i2c bus #2
also there is sense resistor to gazoo chip ( twl4030 ) in kernel i find this "++CONFIG_W1_SLAVE_BQ27000=y .......... ++# CONFIG_BATTERY_BQ27x00 is not set ......... ++CONFIG_TWL4030_BCI_BATTERY=y " From datasheet ( tps65950 hard & soft compatible with twl4030 ) ..... The BCI also performs monitoring functions: ac charger detection VBUS detection Battery detection ac charger overvoltage detection VBUS overvoltage detection Battery overvoltage detection Battery voltage level detection Battery charge current level detection Battery temperature out-of-range detection Battery end-of-charge detection Battery overcurrent detection Watchdog bq27x00 features * HDQ (bq27000) or I2C (bq27200) Communication * Reports Accurate Time-to-Empty With Measured Load and Historical Maximum and Standby Loads * Reports Temperature, Voltage, and Current * High Accuracy Charge and Discharge Current Integration with Automatic Offset Calibration * Requires No User Calibration * Programmable Input/Output Port * Internal User EEPROM Configuration Memory * Automatic Capacity Reduction With Age * Stable Oscillator Without External Components * Dynamic End-of-Discharge Detection Delay to Allow Use in a High-Dynamic Load Environment * Automatic Sleep Mode When Communication Lines are Low * Available in a Small 3 mm x 4 mm QFN Package * Five Low-Power Operating Modes o Active: < 90 ľA o Sleep: < 2.5 ľA o Ship: < 2 ľA (bq27000 only) o Hibernate: < 1.5 ľA o Data Retention: < 20 nA my opinion : - it is possible to find bq27200 chip on the board but nokia can choose to not put in future. this chip is not mandatory for n900 running but can do better monitoring . nokia put this on the board but don't have time to write the software, an appendix almost useless until somebody choose it. - battery can be monitored by software through twl chip - it is a wrong initialization of driver for bq27200 ( i2dc device 0x55) or driver missing entirely even if it is activated by "CONFIG_W1_SLAVE_BQ27000=y" . bq27x00 chip is made in two bus variants bq27200 for i2c bus and bq27000 for hdq 1wire bus so something is wrong in software, schematics make sense. bq27200 chip is near blamed isp1707 usb transceiver chip |
Re: Battery consumption analysis
5 Attachment(s)
Quote:
See attached screenshots for more info. In order: - MSN (Pecan) + All Jabber accounts (gmail+jabber+ovi) + yahoo + skype - MSN + ALL Jabber - MSN alone - gmail alone (note that one is screenshooted a bit earlier so you still see the charging period, ignore it) - no IM at all obviously gmail alone works well, the others suck power. AIM and ICQ don't work at all (they always say something like "network error"). Facebook-chat seems broken recently. I don't have accounts to try the other ones. |
Re: Battery consumption analysis
My graph using MSN-Pecan 0.1.0 final (over 2G) looks pretty much the same as your gmail graph.. which pecan version is that? I'm not sure if the final is in extras yet, as mine is from extras-testing. I think there were some problems with battery consumption in the release candidate versions.
|
Re: Battery consumption analysis
I'm using 0.1.0-0maemo2. I'm over 3G, for pecan and gmail (and everything else).
|
Re: Battery consumption analysis
something new:
http://img211.imageshack.us/img211/842/powersafe.png - left side: normal idle battery consumption PR1.1.1 - right side: first red dot -> activated smartreflex, second red dot -> seems to work :D something about smartreflex: https://bugs.maemo.org/show_bug.cgi?...ltiple&id=7633 |
Re: Battery consumption analysis
Quote:
Code:
$ cat /proc/bootreason |
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
@b666m
currently searching what "smartreflex" is and do. but if you can tell me it is greatly appreciated. :D:D:D EDIT: whooops!!! there is a link!!!! sorry, thanks!! |
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
Quote:
I had ....well read the report: https://bugs.maemo.org/show_bug.cgi?id=7633#c31 |
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
Quote:
and is this done in xterm? cant cd to /etc/pmconfig, or im doing it the wrong way? |
Re: Battery consumption analysis
Quote:
Code:
sudo gainroot |
Re: Battery consumption analysis
Quote:
when i performed the codes and hit enter, i just came back at /home/user #, does this mean it was successful or nothing happened??? EDIT: oh, then i reboot the device (in root, typed "reboot") |
Re: Battery consumption analysis
Quote:
Code:
cat /sys/power/sr_vdd1_autocomp |
Re: Battery consumption analysis
Quote:
i also noticed from doing this, my ram usage goes down bout 5-10mb UPDATE: yey!! so far not experiencing any reboots or issues! |
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
yea i changed those settings in January, added to my batt life significantly, with no ill effects on performance, i dont know why it was disabled out of the box. hmm ... but regardless of that fact it worked.
how did your battgraph have the CPU statistics as well, was it in testing/devel? i only DL'd the version that was in the official maemo repo. |
Re: Battery consumption analysis
currently, batterygraph was uninstalled when i ran smartreflex. just notice the cpu usage by the system info widget app.
because of 2 reboots, kinda hard to determine improvements, reboot eats a considerable battery power. |
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
UPDATE: upon changing the values on /etc/pmconfig (smartreflex)
men that was exciting! after enabling smartreflex, 3 reboots ocuured on my device, on the last one, the n900 just turn off. With the usual response to this, i switch on the device, the device did not reboot. i removed the battery and install, the device did not boot up. i waited for an hour, did the same thing, but still the n900 did not boot. then i just said, "uh oh!" well i am a jolly guy, instead of being pissed, i think of another way. i tried charging the device. the n900 lit up the nokia logo, but did not boot. this is telling me, that the n900 is not dead, so i went to the wiki page and re-read all of the flashing of n900 documentation. after 4-10mins, my n900 is factory new! and shining sparkly too! :D:D:D im currently reinstalling all my apps, and found out that "battery eye" is OPT!! weeeeeee!!!!! in posting this, i am not saying that smartflex is not a good idea, actually its effective, im just so lucky this day that instead of getting unexpected reboots, i got an unexpected re-flash!!! :D:D:D LOL!! im totally happy that my n900 is fully operational again. so.....is anyone still with me on changing the values or enabling smartrefles??? :D:D:D |
Re: Battery consumption analysis
i dont know if its smartreflex itself causing these issues. but i have had no problems with it being activated on my device. the only time i had a reboot was with firefox and that was the last time i used it ... i do have the nightly fennec builds instead of FF1.0. however i have had no problems with SR. it may be an app that is having trouble and may need the CPU to stay more active than necessary.
|
Re: Battery consumption analysis
Quote:
|
Re: Battery consumption analysis
which is the better app?
battery eye or battery graph |
Re: Battery consumption analysis
do you prefer battery eye or battery graph
|
Re: Battery consumption analysis
Just noticed something with WIFI-switcher:
If I activate WIFI-switcher, my battery drains quicker. Currently it's only an initial theory, but has anyone noticed this as well? I activated WIFI-switcher overnight (to disable WIFI+lib), and noticed a ~5% drop for ~5 hours. Currently after disabling WIFI-switcher (only WIFI disabled) after nearly ~1,5 hours it still hasn't dropped even 1%. This still isn't conclusive, I will test it again today overnight. |
Re: Battery consumption analysis
Quote:
Much more features. One very convenient feature is to export even 21 days worth of graph as a PNG image file, like here. |
All times are GMT. The time now is 02:32. |
vBulletin® Version 3.8.8