Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Low battery consuming flashlight app?

OP lilajrestnom

1st February 2014, 07:12 PM   |  #1  
lilajrestnom's Avatar
OP Senior Member
Philadelphia
Thanks Meter: 163
 
1,190 posts
Join Date:Joined: Jul 2011
Donate to Me
More
I sometimes need to use my flashlight for hours. When I was on Gummy 4.4.2, the flashlight toggle in the notification panel (I guess it used the torch app?) would work great and not eat up my batter quickly. It actually lasted the hours I needed it to. So now I flashed a TW 4.3 ROM and I tried the torch app and tiny flash light app but both of them killed my battery wayy to quick. I'm talking about in less than an hour compared to the 3~4 hours I was getting on 4.4.
Anyone have any suggetions? I doubt anyone uses the flashlight as much as I do to have tested it enough but maybe someone has a tip or trick for lowering battery consumption while using the flash?

Sent from my SPH-D700 using xda app-developers app
2nd February 2014, 05:04 PM   |  #2  
Member
Thanks Meter: 47
 
75 posts
Join Date:Joined: Sep 2010
Quote:
Originally Posted by lilajrestnom

I sometimes need to use my flashlight for hours. When I was on Gummy 4.4.2, the flashlight toggle in the notification panel (I guess it used the torch app?) would work great and not eat up my batter quickly. It actually lasted the hours I needed it to. So now I flashed a TW 4.3 ROM and I tried the torch app and tiny flash light app but both of them killed my battery wayy to quick. I'm talking about in less than an hour compared to the 3~4 hours I was getting on 4.4.
Anyone have any suggetions? I doubt anyone uses the flashlight as much as I do to have tested it enough but maybe someone has a tip or trick for lowering battery consumption while using the flash?

Sent from my SPH-D700 using xda app-developers app


Hi, I'm the developer of Tiny Flashlight.
There are different ways to start the light on different android devices / OS versions. For example, the standard way on most new devices is to initialize the camera hardware in torch mode. This causes a lot of overhead and your battery drains faster.

Also, there are other non-standard ways to start the light, but they work only on a specific device (if possible at all). On HTC (non-google-play edition) Tiny Flashlight uses a private API, which doesn't involve the camera hardware. This way your device will run for longer.

The problem with most private APIs is that they require root and my change / get removed with software updates or ROM installations. This makes it very hard to support them. Right now I'm running the beta test of Tiny Flashlight v5.0, which is rewritten from scratch. Probably, this is the most optimized flashlight app you will find. If you are interested you can test it: http://forum.xda-developers.com/show....php?t=2560625
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes