Android support with timer

asked 2016-09-12 08:40:36 +0300

N9Sailfish gravatar image

updated 2016-09-12 08:52:36 +0300

Have someone allready asked of the Android support with a timer? I have not seen anyone. So, If not it should be fine if the Android support could include settings of put on and cut off times? I.e. at certain time in the morning Android support should active and at certain time Android support should be cut off, respectively. This just for saving battery.

Ps. Have noticed, too, that closing Android support app over night, helps a little to save battery. :)

edit retag flag offensive close delete

Comments

did you take a look at the app "Situations"? might be doable with it

till ( 2016-09-12 11:33:35 +0300 )edit

Hi! Yes I have noted it. But I don't know what are the commands / orders to uase as to open and as to close in the background uses? I suspect that the required commands arent't so simple ones? I am very thankfull for every hints.

N9Sailfish ( 2016-09-12 11:42:46 +0300 )edit

there are systemctl start aliendalvik.service and systemctl stop aliendalvik.service, but they require root privileges

till ( 2016-09-12 11:46:01 +0300 )edit

Yes, I can push them manually. But could these 'buttoms' be controlled by logic like Situation app?

N9Sailfish ( 2016-09-12 12:15:52 +0300 )edit

Excuse me, one question. Do I need root privilege if the command is written e.g:

sudo systemctl start aliendalvik.service or sudo systemctl stop aliendalvik.service ?

I saw the previous in net pages. Thank you for your help.

N9Sailfish ( 2016-09-12 18:52:36 +0300 )edit