×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2006
    Location
    Poland
    Posts
    45

    GPS & Battery Issues

    Hi all!

    I've been doing a GPS project recently, and noticed that the example code Nokia gives for handling the device GPS module drains the battery like mad (Power consumption on the order of 0.42W). A clean device (after formatting) uses around 0.02W. The battery dies after just few hours.

    Does anybody here have some suggestions to the improvements that can be made to lessen the effect of the GPS module on battery life?
    Some code modifications? Good practise when using RPositionServer and RPositioner? Does the developer have any control over this?

    I used Juice on the device for the power consumption data.

    P.S. I just noticed that increasing the update interval doesn't really help :|

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: GPS & Battery Issues

    you should probably not use the GPS all of the time, for example you could turn it off when your application is not in the focus, thus you woudln't be consuming any additional energy then.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Location
    Poland
    Posts
    45

    Re: GPS & Battery Issues

    This is one of the workarounds, however I need GPS positions at percise (or as percise as possible) times. So sometimes when locking onto GPS satelites takes a lot of time, it will cause me to miss out a reading... I will consider locking some time prior to the required readout time, but as a last resort, since my readouts can be frequent thus making this method inefficient...

    I was thinking of some other solutions...

  4. #4
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: GPS & Battery Issues


  5. #5
    Registered User
    Join Date
    Oct 2006
    Location
    Poland
    Posts
    45

    Re: GPS & Battery Issues

    Thanks for the link. Some valuable reading there.
    I'm playing around with the RPositioner & RPositionServer classes and noticed that decreasing the callback time (ranging from 5seconds to 300seconds), doesn't change the power usage. Found this quite eerie.

    If I understand the whole Location Framework correctly executing Open() on a RPositioner instance is the moment the GPS module starts the whole locking to satellites procedure, right?

Similar Threads

  1. Notification for change in battery level
    By venunet in forum Symbian
    Replies: 4
    Last Post: 2009-05-21, 08:43
  2. JSR-179API provider reset to stop GPS location activity
    By nicholso in forum Mobile Java General
    Replies: 15
    Last Post: 2009-02-06, 11:33
  3. NOKIA N95 Battery Issue (Please discuss all Nokia N95 battery issue here)
    By Waqar in forum General Development Questions
    Replies: 3
    Last Post: 2007-09-17, 01:24
  4. Bluetooth GPS simulator for j2me phone
    By vgps in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-02-09, 04:30
  5. BT GPS Battery level query
    By stephenclifton in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-08-22, 09:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×