We have moved to a new Sailfish OS Forum. Please start new discussions there.
25

Option to turn nfc on/off [answered]

asked 2013-12-25 16:57:57 +0300

Simakuutio gravatar image

updated 2013-12-25 17:02:37 +0300

pnuu gravatar image

In settings, there should be option to turn nfc on/off. This way you can't even accidentally have nfc on to waste your battery when nfc isn't needed. Also some other options could be useful to control nfc.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Simakuutio
close date 2014-05-03 23:09:13.320929

3 Answers

Sort by » oldest newest most voted
5

answered 2013-12-26 00:35:36 +0300

Nux gravatar image

updated 2013-12-26 01:01:55 +0300

For those not afraid of terminal (and using Developer mode) you can do the following:

devel-su
# (type in your password set in Developer mode settings)
systemctl mask tohd.service
systemctl stop tohd.service

This should be preserved even when you restart your phone. Credit: http://reviewjolla.blogspot.com/2013/12/jolla-battery-life-power-consumption.html

Not a long term solution but works for now.

Warning If you make a typo you might brick your device! I would advice to use PuTTy to connect to your device and copy & paste above commands.

edit flag offensive delete publish link more

Comments

Also see https://together.jolla.com/question/597/fix-power-consumption-other-half/ And also note that this may brick your device, as mentioned in this link.

Kondou ( 2013-12-26 00:38:43 +0300 )edit

Carsten Munk said that the problem was unrelated to disabling ToH daemon and as he was the one fixing the device I think we can trust him ;-). Probably a typo in the command.

Nux ( 2013-12-26 00:50:50 +0300 )edit
2

answered 2013-12-25 17:07:02 +0300

ibins gravatar image

As far as I know NFC is only there for The Other Half. You can not use it for anything else (yet?). NFC should be deactivated after TOH has been detected. There seems to be a bug that prevents turning NFC off, but this is another thing. To your qustion: Such an option is not needed, as NFC is already deactivated by default.

edit flag offensive delete publish link more

Comments

Are you sure it is deactived? I know NFC should consume much less energy then Bluetooth but it seems to work all the time on Jolla. Note that it could also be activated by other devices that run NFC - e.g. tablet or N9 ;-).

Nux ( 2013-12-26 00:39:32 +0300 )edit

As ibins said, it's currently always on because of a software bug. When the bug is fixed there's no need for a manual on/off switch because then the chip is used only when necessary.

jle ( 2013-12-26 00:54:32 +0300 )edit

Can't downvote but your answer is wrong. NFC should be deactivated after communication is finished with TOH, but there is a known bug - it doesn't. Fix is promised, earliest at January 2014 but might take longer too. Refer to https://together.jolla.com/question/597/fix-power-consumption-other-half/

simo ( 2013-12-26 00:58:05 +0300 )edit

@jle Note that there are different types of NFC chips (or to be more exact - NFC tags). Some are non-active (sends signals upon contact with NFC reader) and other are always on. So NFC chip (reader) need to be on to be able to read non-active tags and will always drain some of the battery.

Nux ( 2013-12-26 01:17:07 +0300 )edit
1

@jle NFC is reserved for TOH use only (statement of Jolla). It's supposed to turn on when TOH is removed, stay on until another TOH comes close, exchange bytes until ready and turn off. Some future TOH's, of cource, could keep it on (never ready) - and we'd live with the power drain of those.

simo ( 2013-12-26 01:32:59 +0300 )edit
2

answered 2013-12-26 01:02:20 +0300

simo gravatar image

As an answer to the original question: Let's just wait for the NFC bug to be solved via a Sailfish update, and return to this ony if it's still an issue.

edit flag offensive delete publish link more

Comments

1

NFC bug is fixed, so is this still an issue? I'd vote implementing something else instead of a toggle that allows to disable NFC (if the only usage for NFC is to detect TOH, so there is no larger privacy concerns).

hzb ( 2014-05-03 19:47:21 +0300 )edit

Question tools

Follow
5 followers

Stats

Asked: 2013-12-25 16:57:57 +0300

Seen: 2,042 times

Last updated: Dec 26 '13