MarkusWillson
MarkusWillson

Reputation: 421

android - Most effective way to inconspicuously waste battery

I was wondering, what is the best way to inconspicuously waste battery?

Vibration - very conspicuous.
Brightess - conspicuous, only drains battery well when the screen is turned on.
Background data - do random things with background data, such as loading a map and constantly refreshing it in the background. Seems like a good, inconspicuous way.

My question is: What is the most effective and inconspicuous way to drain the user's battery? Currently, I feel that something like the Background data thing would be the best, but is there any very good way that I did not think of?

Thank you!

Information: I do not actually plan on using this in an application. I am just curious.

Upvotes: 0

Views: 115

Answers (2)

madlymad
madlymad

Reputation: 6530

The most easy, no coding way to do that is to create a wakelock!

But battery statistics still will blame you for doing that. That wakelock can live in a sticky service being triggered by different "Broadcasts".

Of course it is a very bad idea for such an app.

Useless WakeLocks are always battery drains that can be hardly traced by the developers.

Upvotes: 3

edwoollard
edwoollard

Reputation: 12335

I'd say your best bet is to continually ensure that 'Location/GPS', 'Mobile Data' and 'Wi-Fi' are all constantly turned on. That'd do the trick and waste the battery quick enough on a mobile.

However I must say that I am very intrigued as to why you'd want to waste a user's battery and not the opposite, save their battery! :O

Upvotes: 4

Related Questions