Showing posts with label power consumption. Show all posts
Showing posts with label power consumption. Show all posts

Wednesday, June 30, 2010

Coding for Android Device Battery Life

Most of us have to pay attention to battery life these days. And as a dumb end user there is only so much I can do to regulate battery life. Turning devices off, dimming screens, shutting down wireless connections and, in general, just not using my devices are the sorts of things end users can control.

Of course, that sort of defeats the purpose of having always-on devices, doesn't it? Application developers can do some things to help when they create apps, and hardware engineers can do some things when they design devices.

Ironically, we are so "digital" these days that radio frequency engineering is almost a lost art, as you might infer from the antenna issues the iPhone 4 has been having.

But Android developers can do some things when they develop code that has a direct bearing on power consumption.

"Tokens" are the New "FLOPS," "MIPS" or "Gbps"

Modern computing has some virtually-universal reference metrics. For Gemini 1.5 and other large language models, tokens are a basic measure...