For those who write mobile phone apps, what bugs / issues have you fixed to improve energy efficiency and how much has the fix improved?
The next question is: is energy efficiency considered as important as functions, and avoids functionality errors when writing mobile applications?
To answer the following question, very few customers notice any difference in energy efficiency or battery life from using a particular application. This is almost never mentioned in App Store reviews. I write energy-efficient code mainly because I donβt want to run my own device batteries while testing and using my applications.
Some suggestions for iPhone apps:
Write your application so that it works on the slowest device (iPhone 2G or 3G) with the slowest OS (4.x on 3G). Then it can mainly work on much faster current devices.
In graphics routines, try not to redraw everything that is already drawn. Use a small CALayer or subview for localized updates / graphics changes.
async , .
C ( Foundation) , ARM, .
, . , , .
.
, GPS , GPS . , , GPS , .
, : , , .
EE , .
, . , .
, / .
, opengl, .
, , .
LWP, 5 . , , . FPS FPS. . 60 , 30 .
, fps .
, , OLED, Android, , . - , OLED . , , . - , .
GPS, 3G, .
Source: https://habr.com/ru/post/1778636/More articles:Converting from UNIX to Date String - objective-cUsing HiLoIdGenerator in NoRM for MongoDB to create a unique identifier - mongodbAndroid - widget breaks after reboot / reset - androidChoosing a child in jQuery, if I have a link to an element, already - jqueryWhy is the gptr type basic_streambuf char_type * and not const char_type *? - c ++Is there any guarantee that Python's non-callable classes will not be called? - python.NET Find Eaten Exceptions - .netWhere can I find a good introduction to character encoding? - unicodeILGenerator: load generation method - c #C ++ Homework - Binary Search Tree Help - c ++All Articles