jsimboljsimbol

  1. 3 votes
    Vote 0 votes Vote Vote
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      You have left! (?) (thinking…)
      declined  ·  CarterAdminCarter (Admin, two forty four a.m.) responded

      This setting cannot be configured by third party apps such as Locale. This is because the location providers are secured settings, which only Android itself is allowed to change.

      I think you might have some incorrect information regarding battery usage. The Android network location provider uses almost 0 power. Regardless of how frequently it updates, it uses information that is already available to the phone, such as which tower the device is connected to. Since that information is already available, the cost of the network location provider is almost free.

      jsimboljsimbol commented  · 

      Carter,
      While I believe the first part of your response (after looking into it), I still have to disagree about the power issue. Watch the logcat output of the phone for a few minutes while the screen is turned off and nothing is being used up front (wifi and gos can be turned off too). You'll see every minute that the OS issues a wakelock, does an injectGPSposition and then goes back to sleep. "D/libgps ( 1131): GpsInterface_inject_location( 41.xxxxx, −72.xxxxx, 3510.000)" The total of those calls is killing battery.
      If you disable the location service (uncheck "use wireless networks") then the polling completely stops, the "partial wake usage" of the OS goes way down and battery life goes up.

      jsimboljsimbol commented  · 

      Carter,
      While I believe the first part of your response (after looking into it), I still have to disagree about the power issue. Watch the logcat output of the phone for a few minutes while the screen is turned off and nothing is being used up front (wifi and gos can be turned off too). You'll see every minute that the OS issues a wakelock, does an injectGPSposition and then goes back to sleep. "D/libgps ( 1131): GpsInterface_inject_location( 41.xxxxx, −72.xxxxx, 3510.000)" The total of those calls is killing battery.
      If you disable the location service (uncheck "use wireless networks") then the polling completely stops, the "partial wake usage" of the OS goes way down and battery life goes up.

      jsimboljsimbol commented  · 

      Carter,
      While I believe the first part of your response (after looking into it), I still have to disagree about the power issue. Watch the logcat output of the phone for a few minutes while the screen is turned off and nothing is being used up front (wifi and gos can be turned off too). You'll see every minute that the OS issues a wakelock, does an injectGPSposition and then goes back to sleep. "D/libgps ( 1131): GpsInterface_inject_location( 41.xxxxx, −72.xxxxx, 3510.000)" The total of those calls is killing battery.
      If you disable the location service (uncheck "use wireless networks") then the polling completely stops, the "partial wake usage" of the OS goes way down and battery life goes up.

      jsimboljsimbol shared this idea and gave it 3 votes  · 
    • 774 votes
      Vote 0 votes Vote Vote
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service

        You'll receive a confirmation email with a link to create a password (optional).

        Signed in as (Sign out)
        You have left! (?) (thinking…)
        under review  ·  CarterAdminCarter (Admin, two forty four a.m.) responded

        The original request here was for a logical NOT operator, although it doesn’t make sense to create a logical NOT operator in Locale. Most of the time, NOT isn’t the right way of thinking about a Condition. For example, NOT 9 am to 5 pm could be redefined as 5pm to 9am. NOT at work would simply be the Default situation. For the other conditions built-in to Locale, thinking about the problem in a different way usually means that NOT isn’t needed. If a Condition truly needs NOT logic, then that should probably be put into the individual Condition’s UI itself rather than as part of the Edit Situation screen in Locale.

        Although this request is for a NOT operator, I believe the underlying request here is a way of detecting the transition between situations. The strongest use case would be detecting when you’ve left a particular Location. While Locale… more

        jsimboljsimbol gave this 3 votes  · 

      Knowledge Base and Helpdesk