maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [Support thread] Battery Overlay (https://talk.maemo.org/showthread.php?t=94717)

coderus 2015-03-10 16:51

[Support thread] Battery Overlay
 
Simple colored line on top of everything to display battery charge percentage.

Github: https://github.com/CODeRUS/harbour-batteryoverlay2
Openrepos: https://openrepos.net/content/coderus/battery-overlay-2

mousse04 2015-03-11 08:11

Re: [Support thread] Battery Overlay
 
Hi Coderus,

as discussed on Twitter, for me what will be useful is :

-1- To get transparency on either charged or uncharged part. Because we don't need to have information on charged level and uncharged level as both of them are connected (charged = 100 - uncharged).
So, from my point of view, I would set charged as transparent, and uncharged as red, then when my device will be uncharged a lot, a big red line will appear.

-2- Getting this red line only when battery is under a certain threshold. Finally I don't care about my battery being at 60% (so 40% discharged).
But what I want is a line showing that my battery is under, let say, 30%.

-3- Being able to put the line at the bottom instead of top

This is only some ideas, maybe some of them are stupid or not useful :)

coderus 2015-03-12 08:19

Re: [Support thread] Battery Overlay
 
Application updated to v0.2.0 with many new features!

mousse04 2015-03-12 08:43

Re: [Support thread] Battery Overlay
 
Thanks Coderus,, you've implemented all my ideas :).

az2111 2015-03-12 16:29

Re: [Support thread] Battery Overlay
 
what about autostart of battery overlay?

coderus 2015-03-12 16:38

Re: [Support thread] Battery Overlay
 
Quote:

Originally Posted by az2111 (Post 1463873)
what about autostart of battery overlay?

application also publishing in Harbour, so i can't make autostarrt for it and also don't want to make separate version for openrepos :)

ejjoman 2015-03-12 16:46

Re: [Support thread] Battery Overlay
 
This really needs to be fixed by Jolla... It is so annoying that services / auto starting apps are not allowed in harbour :mad:

n900user259 2015-03-12 16:49

Re: [Support thread] Battery Overlay
 
Very nice App! However the pulley menu always shows 'start Overlay'. Is this intentional? How do I stop Overlay?

Also I don't exactly know what the 'Apply gradient opacity fade' is supposed to do but it doesn't seem to be doing anything. Could you perhaps explain the function?

coderus 2015-03-12 17:19

Re: [Support thread] Battery Overlay
 
Quote:

Originally Posted by n900user259 (Post 1463877)
Very nice App! However the pulley menu always shows 'start Overlay'. Is this intentional? How do I stop Overlay?

Also I don't exactly know what the 'Apply gradient opacity fade' is supposed to do but it doesn't seem to be doing anything. Could you perhaps explain the function?

killall harbour-batteryoverlay if you didn't closed overlay before upgrade. and to see how function works increase height of line.

n900user259 2015-03-12 21:55

Re: [Support thread] Battery Overlay
 
Great stuff! Works like a charm. Thanks!


All times are GMT. The time now is 11:59.

vBulletin® Version 3.8.8