[guardian-dev] hidden services, doze, battery life

Greg Troxel gdt at lexort.com
Wed Dec 7 20:28:10 EST 2016

arrase <arrase at gmail.com> writes:

> When a user wants to have a hidden service active in sleep mode has to pay
> the toll imposed by Android and we can not do anything about it without
> patching Tor.

I don't see why "patching Tor" is out of the question.  But I understand
that making tor work in a low-battery-usage environment is not easy.

> So I think our best approach is to ask the user to include Orbot in the
> white list of Doze when there is some hidden service active and remind him
> to delete Orbot from the list when all the services are paused.

Doze whitelist is not that big a battery penalty by itself.  I have K-9
whitelisted, and the battery usage is reasonable.  However, I'm not sure
that's enough to make a HS work.  And doze appears more aggressive in
Android 7 than in 6.   I have not really checked K-9's behavior under 7

More information about the guardian-dev mailing list