Welcome to the new community space just for us jolly sailors! Make yourselves at home and you could always start by visiting our new recruits area. :)
Temporary + Permanent Fix For Battery Drain Via Terminal!
  • JollaTidesJollaTides
    481.00 KarmaPosts: 408Captain
    /2013/12/23/source-of-battery-drain-nfc-always-on-solution/

    For temporary fix, type into terminal:

    devel-su
    systemctl stop tohd.service

    Password is whatever you set in developer area of settings menu.

    This will require entering each time after reboot.
    ______________________________________________________________________

    For permanent fix if you're happy with the results, type into terminal:

    devel-su <- you command your terminal to enter developer superuser mode<br />(your password) <- note: invisible writing. Jolla confirms that you are the superuser<br />systemctl mask tohd.service <- you put a mask to a buggy service commanding NFC chip<br />systemctl stop tohd.service <- you stop the service<br />exit <- you leave the devel-su mode<br />exit <- you leave the terminal (it closes)<br />
    ________________________________________________________________________

    If you ever want to restore to original settings, you can use the following code:

    _________________________________________________________________________

    devel-su <- you command your terminal to enter developer superuser mode<br />(your password) <- note: invisible writing. Jolla confirms that you are the developer.<br />systemctl unmask tohd.service <- you take the mask away, so the system can find the service again<br />systemctl start tohd.service <- you start the service<br />exit <- you leave the devel-su mode<br />exit <- you leave the terminal (it closes)<br />_______________________________________________________________________

    Report here if it works for you! :-D
    Post edited by JollaTides at 2014-01-09 11:36:22
    Sail On!
    /
  • andreibechetandreibechet
    218.00 KarmaPosts: 187Deckhand
    I have went for the tin foil solution. Still under test, although it looks a bit better.
  • JollaTidesJollaTides
    481.00 KarmaPosts: 408Captain
    I'm running the permanent fix now as tipped by @Znurre on the blog site. So far so good... ;-)
    Sail On!
    /
  • WilliePreWilliePre
    64.00 KarmaPosts: 50Crew

    I have went for the tin foil solution. Still under test, although it looks a bit better.



    Me too, will see in the morning weather there's a change in battery usage.
    WP-JollaTOH (Mobile).jpg
    271 x 480 - 27K
  • JollaTidesJollaTides
    481.00 KarmaPosts: 408Captain
    Here's some info from Jussi who posted earlier on the blog:

    Stopping the tohd service seems to drop standby current draw from around 130-150mA to 10-60mA. Those interested in measuring the power draw can check out: https://github.com/jusic/energiador


    (Y) (Y)
    Sail On!
    /
  • andreibechetandreibechet
    218.00 KarmaPosts: 187Deckhand
    Definitely much much more better .... kinda heavy usage and still with 15% since 8-9am previous morning.
  • MichdeSkunkMichdeSkunk
    24.00 KarmaPosts: 17Crew
    what is tohd service???
    it is needed for???
  • JouniJouni
    12.00 KarmaPosts: 9Crew
    For those of you who understand something about Linux in general, I logged into my phone and run top for a while while both disabling and enabling tohd. The results speak for themselves:

    Just after stopping tohd.service:
    top - 18:51:01 up 7 days, 1:12, 1 user, load average: 0.11, 0.57, 0.66

    A few minutes after enabling it again:
    top - 18:58:20 up 7 days, 1:20, 1 user, load average: 0.57, 0.83, 0.76

    And two minutes after disabling it again:
    top - 19:00:50 up 7 days, 1:22, 1 user, load average: 0.05, 0.51, 0.65

    For those who are not familiar with the output of top, the most interesting things are the last three numbers: system load avg over the last 1, 5 and 15 minutes.

    So there really seems to be a problem communicating with the other half using nfc.
  • WilliePreWilliePre
    64.00 KarmaPosts: 50Crew
    WilliePre said:

    I have went for the tin foil solution. Still under test, although it looks a bit better.



    Me too, will see in the morning whether there's a change in battery usage.


    I did the "Great Tin foil upgrade" 20 hours ago on my #Jolla, it still has 69% left on battery, after lightly using it.

    <3
  • JollaTidesJollaTides
    481.00 KarmaPosts: 408Captain
    7% remaining after 50 hrs light use!
    Post edited by JollaTides at 2013-12-26 18:18:36
    Sail On!
    /
  • andreibechetandreibechet
    218.00 KarmaPosts: 187Deckhand

    7% remaining after 50 hrs light use!



    Impressive! Too bad I cannot do light use :))
  • blitzschlagblitzschlag
    85.00 KarmaPosts: 84Crew
    hmmm, with semi-good g2/g3 connection and light to no usage i hardly get more than a day. Thats without bluetooth and wireless and ofc with tohd service disabled.

    kinda annoying...
    i'm not even close to be a first one
  • JollaTidesJollaTides
    481.00 KarmaPosts: 408Captain
    Have updated the permanent fix in the original post as per @simo direction using the "mask" technique.

    See full edited post here: /2013/12/23/source-of-battery-drain-nfc-always-on-solution/
    Sail On!
    /
  • JollaTidesJollaTides
    481.00 KarmaPosts: 408Captain
    @blitzschlag Have you tried the updated fix which I've just amended in the original post ? Having tested it for a few weeks now, that appears to permanently disable the NFC even after reboot. ;-)
    Sail On!
    /
  • blitzschlagblitzschlag
    85.00 KarmaPosts: 84Crew
    ah, thx. hadn't seen the update with the masking of the service.

    i'll check again
    i'm not even close to be a first one
  • J0lla_PekkaJ0lla_Pekka
    2.00 KarmaPosts: 2Crew
    I am pretty satisfied with the sw fix. However, in my phone the battery
    capacity drops first kind of quickly from 100 to 80 or 70 %, but then stays a long time in the range 40 to 70 %. Eagerly waiting for the final solution by Jolla.
  • blitzschlagblitzschlag
    85.00 KarmaPosts: 84Crew
    hmm, ok. i did mask and stop the service. rebooted and checked if the service is properly disabled. now the phone lost 7 % battery in 14 hours doing nothing. thats a huge improvement to before.

    Thanks Timo for pointing me in the right direction again...
    i'm not even close to be a first one
  • JollaTidesJollaTides
    481.00 KarmaPosts: 408Captain
    @Blitzshlag No problem glad you got it working. ;-)
    Sail On!
    /

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Poll

No poll attached to this discussion.

In this Discussion

Tagged

    Support Our Community

    Your Donations Will Help Keep This Forum Afloat