![]() |
Re: [Support thread] Battery Overlay
Does no more, no less, than what it should, great app.
I understand harbour apps cannot autostart, but I was thinking maybe it would be possible to be done manually with systemd. No success so far. I created a .service file /etc/systemd/system/batteryoverlay.service Code:
[Unit] As a second attempt I created a .timer for it. /etc/systemd/system/batteryoverlay.timer Code:
[Unit] Being new to systemd I'm probably missing something, but maybe someone can improve this approach. |
Re: [Support thread] Battery Overlay
Without trying it myself, I'd rather guess you want to invoke it as user service rather than system service.
Also, make sure it starts after UI session, either it probably fails. |
Re: [Support thread] Battery Overlay
hlev80, try this:
Code:
[Unit] and put it to: /lib/systemd/system run as ROOT: Code:
systemctl enable overlayautostrat.service UPDATE: Just now tested and it also not work :D |
Re: [Support thread] Battery Overlay
will try to add some hidden hack for enabling autostart. fooling harbour QA should be easy :)
|
Re: [Support thread] Battery Overlay
Thank you all!
As said, I haven't been too familiar with systemd. I looked up how to deploy a user service and it works that way. :) /etc/systemd/user/batteryoverlay.service Code:
[Unit] /etc/systemd/user/batteryoverlay.timer Code:
[Unit] systemctl --user enable batteryoverlay.timer |
Re: [Support thread] Battery Overlay
hlev80, thanks it work after reboot, but it not work after homescreen refresh (lipstick) :(
I tried to add "After=lipstick.service" under Unit in both files, but still not work.. |
Re: [Support thread] Battery Overlay
Try to add
Restart =always |
Re: [Support thread] Battery Overlay
Yes, already fixed :)
service: Code:
[Unit] |
Re: [Support thread] Battery Overlay
if someone want here is a small package for this. It will auto enable after installation, and just reboot your phone once after installstion.
Icon for easy remove.. ;) https://db.tt/lWbVl5pO |
Re: [Support thread] Battery Overlay
Quote:
|
All times are GMT. The time now is 22:15. |
vBulletin® Version 3.8.8