View Single Post
  #91 (permalink)  
Old 04-19-2011, 11:58 PM
jonpry's Avatar
jonpry
PPCGeeks Regular
Offline
Threadstarter
 
Join Date: Apr 2010
Posts: 70
Reputation: 715
jonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

The code for scbs is here scbs in scbs - Gitorious

There is just a stupid build script for making it under ubuntu assuming you already have meschach installed. I'm sure it could be built for win32, but I haven't tried. I have a feeling the code could be made several times faster by removing meschach. At least it would be several times faster on x86, on arm novfp its not clear how much time is wasted with memory allocation because the math is just oh so slow anyways.

I have limited data on the consistency of the numbers. From my own experience, the numbers i get all "work", ie my battery meter is always accurate enough that I cannot prove it to be wrong. But there is a great deal of variation in them. Say +/- 25%. That may seem like a lot but its really only -6dB of noise.

It would be nice to get them more consistent, and i have some ideas on how to do it. But none of it is easy, and I wonder what the purpose of getting battery readings accurate to 6 decimal places really is.
__________________
Hmm, Like my work? Don't be shy, donate!.
https://www.paypal.com/cgi-bin/websc...=VZ32N65HCXZBU
Reply With Quote
This post has been thanked 2 times.