The Register® — Biting the hand that feeds IT

Feeds

Purdue researchers add ‘wakelock’ cleanup to phone power research

Fixing the ‘no-sleep’ bug

  • print
  • alert

Regcast training : Hyper-V 3.0, VM high availability and disaster recovery

The Purdue University team which in March published a paper identifying how rogue apps and user-tracking can sap Android batteries has followed up with research into detecting and fixing the “wakelock” bugs.

The new study is to be presented at the MobiSys conference in the UK later this month. The researchers have extended their profiling to cover 187 apps, and found that 42 of them – more than 22 percent – had some kind of wakelock bug.

The problem is simple, says Purdue professor of electrical engineering Charlie Hu: programmers are human, and make mistakes. In juggling the various APIs they need to access to wake the phone up – for example, to receive an incoming call when the phone is asleep, or to check e-mail – they can leave the phone awake after the activity and drain the battery.

The Purdue group’s previous research identified bugs in newsreader apps, advertising tracking, and even the free version of Angry Birds (which devoted one-third of its unnecessary power consumption to GPS tracking). As noted at the time, I/O is a power hog and is often badly-handled by app developers.

Hu’s group uses a modified compiler to identify no-sleep bugs in software, and claims they can identify most, if not all, such bugs. ®

Agentless Backup is Not a Myth

Anonymous Coward

Re: "a substantial part of the MS marketing plan"

Now far be it from me to be an MS apologist, but you're attributing to Malice what is actually the product of Incompletence (and common to pretty much everyone in the industry).

Bloat is solely the result of lazy, incompetent programming; why be efficient, when computers get so much more capable every year? Awful UI decisions are the result of stupid people thinking they know best. Everything else... well, that's all pretty malicious.

3
0

Modified compiler?

How would you use a modified compiler to investigate binary code? Or does "modified compiler" actually mean disassembler/decompiler?

1
0

Re: Sly

Substitute apps that fill up disk space and slow down your processor and you have a substantial part of the MS marketing plan.

It's worked for decades. Why change a good thing (for them).

2
1

More from The Register

 breaking news
Number of cops abusing Police National Computer access on the rise
Only a telegram from the Queen can get you off it
 breaking news
NSA PRISM snoop-gate: Won't someone think of the children, wails Apple
10,000 things probed, mostly about missing kids, Alzheimer patients, we're told
Flash flaw potentially makes every webcam or laptop a PEEPHOLE
But it's a Google problem - Chrome only, insists Adobe
 breaking news
NSA PRISM-gate: Relax, GCHQ spooks 'keep us safe', says Cameron
Whatever they are up to, it's all above board, we're told
 breaking news
Yahoo! joins! rivals! in! PRISM! data! request! admission!
Keep calm and carry on using American tech firms, folks
PRISM snitch claims NSA hacked Chinese targets since 2009
Snowden suddenly looks safer in Hong Kong after revelations
 breaking news
US chief spook: Look, we only want to spy on 6.66 BEELLLION of you
Americans assured they are not in the NSA's sights
Speech-to-text drives motorists to distraction
Will talking to you mean I crash into that car up ahead, Siri?
DHS warns of vulns in hospital medical equipment
Has your doctor's anasthesia machine been hacked?
 breaking news
'BadNews is malware' says outfit that found it
Google says code harmless but Lookout says code base is evolving