libera/#maemo/ Monday, 2018-12-10

brolin_empeyhttps://lh3.googleusercontent.com/-TR9LNYFUjsU/XA4sH_j8tzI/AAAAAAAABv0/KQGLlmG1xSYv35sXkMKlDniJnnNOAeU0QCL0BGAYYCw/h1853/704035464178809750%253Faccount_id%253D710:13
freemangordonDocScrutinizer05: ShadowJK: spinal84 said he measured the current from the battery and it is off by 1.5 compared to the reported value. <spinal_> kernel shows 230547, ammeter 0.155A22:44
freemangordonany thoughts?22:44
Palibq27200.sh script (and also kernel) uses 20mOhm resistor sense value... it is correct?22:46
freemangordonPali: we discussed that yesterday, and both DocScrutinizer05 and ShadowJK said it is ok22:47
freemangordonhowever, the measurement (if done properly) shows another story22:47
* freemangordon boots his dev device22:48
freemangordonspinal84: do you remember which reg is LMD? I don't have the datasheet around22:52
spinal841 moment22:52
sicelo0x7622:52
sicelo0x7622:52
freemangordonthanks22:52
freemangordon0x76=0x2d22:53
sicelosorry, that's ilmd22:53
spinal840x13 - 0x1222:53
freemangordonok22:53
freemangordon0x12=0x2cf522:53
spinal840x12 is low byte22:53
spinal84so you need swap values to calculate if you get it from i2c22:54
freemangordonthis is reported as short22:56
spinal84LMD is reported in units of 3.57 µVh per count, so the formula will be: LMD * 0.00357 / Rs, if i'm right :)22:57
freemangordon2,0543565 if you are right :)22:58
freemangordon1,369571 if RS is 3022:59
siceloLMD * 3.57 / RS from what i see22:59
freemangordonok, have to go now, will continue tomorrow22:59
sicelothat's if we're calculating for mAh22:59
spinal84freemangordon, where did you get such a good battery? :)22:59
freemangordonpolarcell ;)23:00
freemangordonPali: ^^^23:00
freemangordonwhat do you think about that?23:01
freemangordonthis is reported on 2.6.28.10-power5323:02
freemangordonWTF is 3.57μVh ?23:03
spinal84it's voltage units used by bq27200 to measure current23:03
freemangordonwhat have volts to do with a discharge?23:03
spinal84current is measured by measuring voltage on sense resistor :)23:03
freemangordonah, I see :)23:04
spinal84that's why we need to know the sense resistor to calculate true current23:04
freemangordonyeah, right23:04
freemangordonanyway, I am afk, will continue tomorrow23:05
freemangordonnight23:05
spinal84bq27200 doesn't have FPU unit, so it only can provide integer values, that's why 3.57 mV is used as single unit23:05
spinal84cya23:05
tdlnxIs maemo still being actively maintained? Like is there anything new for the n900?23:21
KotCzarnysure23:22
KotCzarnysee maemo-leste23:22
tdlnxOh awesome, thanks!23:24
brolin_empey“ammeter” is a misnomer because the beginning of this word is from a unit instead of what is being measured.  It is an electric current meter that uses the unit named ampere but it could use a different unit if there was one.23:31
brolin_empeyspinal84: Decimal values can be used without using floating point.23:37
spinal84brolin_empey, i was just kidding23:39
spinal84bq27200 is just a simple ic, it's not a CPU+FPU23:39
brolin_empeyspinal84: OK, I thought you were serious.23:41
brolin_empeyNot in this channel but someone who was writing about SimCity 2000 long after its release seemed to seriously believe that a microwave oven is more powerful than an 80386-based computer. (fail)23:45

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!