Results 1 to 2 of 2
  1. Thread Author  Thread Author    #1  

    Default Application permissions

    I'm hoping someone can help.
    I bought the Razr Maxx HD and set it up as close to my droid 4 as possible. Same settings and same apps from the market. I noticed after a day there was something called "wakelock" draining the battery quickly. I started deleting some apps and that did not work, wakelock would not go away and shut off. I ended up resetting the phone and it went away.
    Since then I have started to download some of the apps again but have really started to read the app permissions. I have noticed in several of them it states the app "prevents the phone from sleeping" and some actually use the work "wakelock". I guess I'm looking for some kind of difference between the two. If the permission says it prevents the phone from sleeping is that just while the app is being used?
    Thank you for any advice. I appreciate the help.
  2. #2  

    Default Re: Application permissions

    Apps that use the WAKE_LOCK permission don't necessarily drain the battery, but apps that misuse it will. Certain apps require this permission to operate properly. For instance the music app I'm beta testing now requires it to ensure the app can continue to playback music without interruption. So while music is playing, it uses a "partial wake lock" which allows the CPU to keep running even if the device's display is powered off. Otherwise, music would stop playing once the device went to sleep.

    Apps that use WAKE_LOCK need to be very careful to only acquire a wake lock for the shortest amount of time necessary and to release it immediately when it's no longer required. Also they should use partial wake locks instead of full wake locks if possible.

    So basically if you're using an app that would have a legitimate reason to run in the background (like a music app), you shouldn't be worried about the WAKE_LOCK permission (assuming the developer is using it properly). But if an app doesn't seem like it has a legitimate reason to use it, it may be a good idea to not use the app, or at least ask the developer why they're using that permission.

    When I release my app in the Play Store I plan on having a section at the bottom of the app description describing what each permission is used for. I really wish Google would have a built-in way for developers to add notes to each requested permission. I get nervous when I see an app asking for a weird permission (like sending SMS's, etc.), so it would be nice if developers specified why they needed the permission.
    Last edited by DanPLC; 12-10-2012 at 12:04 PM. Reason: fixed typo
    Music Player (Remix): An advanced music app with an intuitive user interface and many unique features (Google Play Store) (Amazon App Store)
    Quick Post: The quick way to post to Twitter & Facebook (Google Play Store)

Similar Threads

  1. Android Application - Take Pictures Permission?
    By xyz247 in forum Market Help
    Replies: 0
    Last Post: 07-31-2012, 12:26 PM
  2. Replies: 0
    Last Post: 04-12-2011, 04:30 PM
  3. Your Top 5 Android Applications?
    By Jeremy in forum Member Favorites
    Replies: 601
    Last Post: 12-25-2010, 07:43 PM
  4. Granting "System Applications" Permissions
    By csantoro85 in forum Motorola X Rooting, ROMs, and Hacks
    Replies: 2
    Last Post: 08-16-2010, 12:18 AM
  5. SportyPal - GPS tracking application
    By kreativ in forum Android Applications
    Replies: 3
    Last Post: 11-17-2009, 06:31 AM

Posting Permissions

B