Guest edge123 Posted January 14, 2011 Report Posted January 14, 2011 Mine compass and accelometr never show stable values. Seems like hardware failure, or an digital noise ;) Is there way to calibrate compass and accelometr? On some devices there's "Settings -> Location and Security -> Calibrate Compass" but ZTE doesn't have something like this. Or is there way to change their sensitivity? Also, I didn't find the way to completely power down an sensor (not via settings, but via /sys/devices/ interfce). Probably someone can add this features to kernel?
Guest edge123 Posted January 15, 2011 Report Posted January 15, 2011 Also seems that most common problem is /system/bin/akmd2 which earn about 6% of CPU power regardless on Android sensor's settings. On other devices there's "alternative" AKMD file, but it didn't work on SF. If someone could give me the source code of akmd2, I'll try to fix it.
Guest edge123 Posted January 15, 2011 Report Posted January 15, 2011 (edited) Can someone compile this AKMD (just replace headers from SF kernel) ??? http://www.google.com/codesearch/p?hl=ru#e...;q=akmd&d=1 Edited January 15, 2011 by edge123
Guest edge123 Posted January 15, 2011 Report Posted January 15, 2011 Can someone publish average CPU consumption for AKMD2 process on different ROMs with "display auto-rotation" option ON and OFF? For example: rom: JJ5 rotaion on: 3% rotation off: 5% To get real values, please execute 'top' command via an terminal
Guest meinnit Posted January 21, 2011 Report Posted January 21, 2011 I'm glad you brought up the issue with akmd2. It uses on average 5-6% CPU when my phone is awake. This seems like a waste of CPU when you are not using any sensors at all. I would also like to be able to turn of a sensor completely and only turn on when needed. This would save some valuable battery
Guest edge123 Posted January 21, 2011 Report Posted January 21, 2011 I'm glad you brought up the issue with akmd2. It uses on average 5-6% CPU when my phone is awake. This seems like a waste of CPU when you are not using any sensors at all. I would also like to be able to turn of a sensor completely and only turn on when needed. This would save some valuable battery You can use Tasker & android scripting to stop akmd2. Use shell command "stop akmd" to disable sensors, and "start akmd" to bring them back. p.s. light and proximity sensors used another library, so akmd will stop only accelometr and compass. p.s.s. if someone good enough in C++, hope that it's possible to recompile code posted above for use with SF
Guest meinnit Posted January 21, 2011 Report Posted January 21, 2011 You can use Tasker & android scripting to stop akmd2. Use shell command "stop akmd" to disable sensors, and "start akmd" to bring them back. p.s. light and proximity sensors used another library, so akmd will stop only accelometr and compass. p.s.s. if someone good enough in C++, hope that it's possible to recompile code posted above for use with SF Thanks for that. May have to purchase Tasker as it seems very useful! What does your modified code do?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now