Battery notifier

Rating: 
2.882355
Your rating: None Average: 2.9 (17 votes)

Battery notifier will show you notification (real notification/lockscreen/audio/led/event screen) about percentage of your battery when it go to less than border percentage.
It will continue send notification every 1 minute (default) until you will connect your phone to power supply.
When battery is full (100%), notifier will send you one notification about this.
* It will delete notification automatically a few sec after connecting to power supply or when disconnect from power supply when battery is 100%.

NOTES:
* Defaul border number is 20%. You can change it by running this command as ROOT:
echo 15 > /usr/share/openrepos-batterynotifer/border
Where 15 mean 15%. You also can do this changes with ROOT filemanager like FileTug.

* Default checking time interval is 1 minute. You can change it by running this command as ROOT:
echo 2m > /usr/share/openrepos-batterynotifer/time
Where 2m mean 2 minutes. You also can do this changes with ROOT filemanager like FileTug.

* Service will start automatically after installation

v0.4-3
- Notification priority changed to 125..

v0.4-2
- Small update for notificstions.

v0.4-1
- Sounds and led notifications is not related to emails anymore.
- Script changed. Quick removing notification & led blinking when charger connected (Low battery) and when charger disconnected (Full battery).
- Custom sounds for Low battery and Full battery.
- Custom led colors for Low battery (Red) and Full battery (Magenta).

v0.3-8
* Notification text for full battery changed a little bit.
* Small changes in .spec file.

v0.3-7
* Fix for updating icon on the homescreen.

v0.3-6
* Notification text changed a little bit and now it will show only one notification every time.

v0.3-5
* Fix of notification icon. Adaptation for 1.1.9.28.

v0.3.-4
* Notification is not user removable anymore. It will disappear by itself when you disconnect charger (full battery) or connect charger (battery less than border).

v0.3-3
* Fix for 1.1.6.27

v0.3-2
* All scripts converted to binary files. I just trying and learn a little bit how it work. From my tests it work without any problem. It's my first try :D
Please try and report if something wrong/different that you feel.

v0.2-2
* Just fixed spelling of word "notifier" :D

v0.2-1
* Finally improvement :) Now when you buttery is low, you will see only one notification and every min it will update this notification instead sending new one.
* It will delete notification automatically a few sec after connecting to power supply or when disconnect from power supply when battery is 100%.
Thanks to VDVsx for help (https://together.jolla.com/question/78054/how-to-check-notifications-via...)

v0.1-5
* Adaptation for 1.1.1.27

v0.1-4
* Fix for black icon, hope it work :)

v0.1-3
* Small fix in the script.

v0.1-2
* Hope it fixed black icon effect.

Thanks to Coderus for help with notifications

Beware, use it on your own risk !!!

Donation are welcome :)

Screenshots: 
Application versions: 
AttachmentSizeDate
File batterynotifer-0.1-1.armv7hl.rpm20.99 KB06/07/2014 - 18:04
File batterynotifer-0.1-2.armv7hl.rpm21.17 KB07/07/2014 - 13:03
File batterynotifer-0.1-3.armv7hl.rpm21.18 KB09/07/2014 - 17:17
File batterynotifer-0.1-4.armv7hl.rpm21.18 KB20/08/2014 - 22:08
File batterynotifer-0.1-5.armv7hl.rpm21.07 KB28/12/2014 - 13:34
File batterynotifer-0.2-1.armv7hl.rpm21.37 KB28/01/2015 - 13:28
File batterynotifer-0.2-2.armv7hl.rpm21.37 KB02/02/2015 - 01:17
File batterynotifer-0.3-2.armv7hl.rpm54.32 KB02/02/2015 - 22:00
File batterynotifer-0.3-3.armv7hl.rpm21.26 KB10/06/2015 - 10:06
File batterynotifer-0.3-4.armv7hl.rpm21.27 KB19/06/2015 - 11:36
File batterynotifer-0.3-5.armv7hl.rpm21.18 KB11/10/2015 - 23:52
File batterynotifer-0.3-6.armv7hl.rpm21.55 KB15/10/2015 - 23:23
File batterynotifer-0.3-7.armv7hl.rpm21.62 KB16/10/2015 - 04:50
File batterynotifer-0.3-8.armv7hl.rpm22.13 KB29/10/2015 - 02:10
File batterynotifer-0.4-1.armv7hl.rpm223.6 KB04/11/2015 - 18:46
File batterynotifer-0.4-2.armv7hl.rpm223.62 KB04/11/2015 - 21:54
File batterynotifer-0.4-3.armv7hl.rpm223.34 KB11/11/2015 - 22:20
Changelog: 

- Notification priority changed to 125.

Comments

Mikaela's picture

It would be nice if the upper notification limit could also be configured instead of being hardcoded to 100%. I have read that or best battery health, the battery charge should be between 40% and 80%.

Schturman's picture

Maybe in the next version... I will do it with setting, like Btrfs balance checker 2 :)

objectifnul's picture

Hi, is there a particular reason why Battery-Notifier always restarts Aliendalvik when I turn it on or off?

Schturman's picture

Hi.
It shouldn't to do this. Just now tested with Dolphin browser opened, when I stopped battery notifier it also close browser, I reopened browser and started battery notifier and now browser is not closed.
I don't think it restart dalvik, maybe because of memory it close opened app sometimes...

objectifnul's picture

Please try this:

1. stop Aliendalvik

2. turn battery notifier on or off (toggle)

3. check if Aliendalvik is running.

Schturman's picture

On 1.1.9.28 no dalvik restart anymore... For me at least ;)

Schturman's picture

yep, you are right... but like I said before it shouldn't do this and I don't know why it happens.
My script is not include dalvik restart command, you can check it by yourself in /usr/share/openrepos-batterynotifer.

McCloud's picture

I have a solarTOH and would be great if I could disable vibration, sound, notification when it starts charging. At sunny days like this it starts even in my pocket! Maybe Jolla knows when power comes from toh and not usb?

Schturman's picture

You need ask the solarTOH creator how to disable this notifications...

boebbele's picture

I can not see anything on my screen. Can you help me?

I have installed meecast-lockscreen an this works. But I see no other widgets I have installed (Calendarambiance and Battery Statusbar on lockscreen (patch)).

Schturman's picture

Battery notifier is not related to the lockscreen patches. I also use meecast-lockscreen patch and notifier work like should be. The default border is 20% and you can change it, read explanation above you.

Lockscreen

Jordi's picture

Thanks Schturman, well done!

It's funny how your apps are always underrated, somebody seems to play with that!

Schturman's picture

Noticed that too, it's probably because you can vote without download/test app. Not so important for me.. Who like it, use it. That all ;)

Markkyboy's picture

Another great little app, thanks man. Shame you have spelled notifier without an 'i', Oops! ;)

Regards,

Schturman's picture

Oops, also here :D
Will fix it...

Markkyboy's picture

still says it on the .rpm file (doh!) :D

Schturman's picture

Yes, I know.. I didn't change all files. I changed only in notifications, what user see :D It's more quickly ;)

pseudoscion's picture

Where can I find "Dalvik auto-killer" referenced in your screenshot? Sounds unteresting

Schturman's picture

I didn't post it, it not work so good..

pseudoscion's picture

Shame, sounded like a good idea.