Page 1 of 2

Xbatalarm

Posted: Fri 05 Apr 2013, 01:12
by Whitesnow
May 7th, 2014 UPDATE: version 2.1 available.

Version 2.1 changelog: :

- automatic X launcher (managing software start and stop) added
- bugs removed
- NLS renamed 2.1, but 2.0 equal

------------------------------

For historical interest:


April 29th, 2014 UPDATE: version 2.0 available.

Version 2.0 changelog:

- optimized code
- GUI tool to set battery alert percentage and time between alerts (called by Menu > System > Xbatalarm Settings or /usr/bin/xbatalarm-config).
- default percentage is set at 15% and time to 30 seconds
- settings are now stored in configuration file /etc/xbatalarm/xbatalarm.conf
- no reboot or restart needed anymore
- rc.local entry instead of /root/startup link (to avoid one or more launches of Xbatalarm in case of X session crash)

NLS

This 2.0 software version contains more text than older ones, so NLS old packages can't be used.

Puplet developers

Let me know if you include Xbatalarm in your puplet. I'll inform my blog readers.



Changelog and download available here and on my blog and repository (see my sign for addresses).

Enjoy! :)

------------------------------

04/20/2013 UPDATE: version 1.2 available.

Put Xdialog instead of xmessage to popup text message.
Now, message looks like your GTK theme and hasn't got problems with cursor anymore.

News: Native Language Support (NLS) started via additional pets. Translators/pet-packers of xbatalarm.mo files are welcome. :)
Until now, there are an IT and an es_AR language files in this thread (English is default).

------------------------------


04/06/2013 UPDATE: version 1.1 available.

Support for batteries different from BAT0 added.
Please, note: restart X (or reboot) to be sure that Xbatalarm runs after installation (or open a terminal and verify). Some notebooks need that.

------------------------------

I introduce you Xbatalarm-1.0_x86.pet, battery monitor utility for laptops with Puppy Linux on board.
Image is a test (on 99% of battery) and only wants to show how this program works, because this one doesn't need to be launched into a terminal in everyday's use.

Advantages:

- very light, it can coexist with default powerapplet_tray
- it runs in background and notify you, via pop-up and acustic warning, when charge level goes under 15% of the last capacity detected (and not that one declared initially by manufacturer. Useful for old batteries)

If you'll uninstall, please restart X or reboot your computer to stop monitoring.

Posted: Tue 09 Apr 2013, 20:39
by carenrose
Very nice :D

Posted: Thu 11 Apr 2013, 09:27
by 666philb
thanks Whitesnow,

working well on an acer one aspire 720 with precise puppy, i've needed something like this for a long time!

excellent

Posted: Tue 16 Apr 2013, 13:45
by josejp2424
excellent, if you do not mind I'll put it to translate momanager, so it can be translated into their language users.

locales es

Posted: Tue 16 Apr 2013, 17:28
by josejp2424
locales -es momanager. hp 530 dual-core

Xbatalarm as Momanager entry?

Posted: Thu 18 Apr 2013, 17:19
by Whitesnow
First of all, thanks to all people who tried and enjoyed Xbatalarm. :)

I'm curious about your work, josejp2424. Could you post it and tell me more?

xbatalarm-momanager

Posted: Thu 18 Apr 2013, 23:04
by josejp2424
hi whitesnow here send Xbatalam to traduce withmomanager and locale-es to spanish

now every user will change lang with momanager

momanager

Posted: Thu 18 Apr 2013, 23:22
by josejp2424
in precise if you put in console appears momanager translator. you need the devx loaded

Posted: Thu 18 Apr 2013, 23:24
by josejp2424
sorry for my English

Posted: Sat 20 Apr 2013, 01:34
by Whitesnow
Hi josejp2424,

could you pet-pack your "locale-es-xbatalarm.tar.gz" as "Xbatalarm_NLS-es_AR-1.1_x86.pet" or create it again as "Xbatalarm_NLS-es_AR-1.2_x86.pet" and post it here?
Please, note: Xdialog in 1.2, instead of xmessage in 1.0 and 1.1, needs to rewrite xbatalarm.po file to make mo one correctly (with Momanager or not).

Last but not least... You are now in section "Credits" of our script for your nice work and help in building language support. :)

Xbatalarm_NLS-es_AR-1.2_x86

Posted: Sat 20 Apr 2013, 03:25
by josejp2424
HI Whitesnow , new locales-es xbatalarm .

Posted: Tue 22 Apr 2014, 21:45
by live
Very nice, the only issues is it keeps prompting about every 30 sec or so to plug your notebook.

Once is enough, at that rate is just keeps to anoying to a point you want to remove it_

Xbatalarm new release is coming

Posted: Wed 23 Apr 2014, 10:09
by Whitesnow
live wrote:Very nice, the only issues is it keeps prompting about every 30 sec or so to plug your notebook.
Hi live :),

yes, I will fix this issue soon, with next release (that will come with other fixes).
I have to set an alert time good for most people as possible (now program is prompting every 18 seconds), but I can't guess what the right time is. Yours and others are welcome to help me. :)
live wrote:Once is enough, at that rate is just keeps to anoying to a point you want to remove it_
You can keep it. To set your alert time, open /usr/bin/xbatalarm as a text and change SLEEP_TIME variable to a number of seconds (between alerts) that you like.

I hope that helps.

Bye.

Posted: Wed 23 Apr 2014, 11:26
by live
Hello Whitesnow :)
Ma que bella !

Well, yesterday I was on battery only, and around 12% left (about 20min) it starts to prompt each 18sec on my screen for power supply, which I didn't have with me.
It annoyed me so much, in the end I abandoned and shutted my laptop down.

Now, I do prefer a warning to in contrast none, where I experienced a sudden power cut off (as so concentrated on my work, I didn't cast an eye on the battery indicator...)
but I can't guess what the right time is.
I would say,
1/ the first warning is the most important people should confirm it (in case you aren't for a moment in front of your laptop...)
2/ after 1st warning, maybe every 5 min or prompt the user for a single digit answer in minutes (same waning window for every prompt, even very first).

Thanks.

Xbatalarm 2.0

Posted: Sun 27 Apr 2014, 21:50
by Whitesnow
Xbatalarm 2.0 is forthcoming.
A graphical user interface tool will be available to set battery alert percentage and time between alerts.

As usual, feedbacks will be welcome. :)

Posted: Mon 28 Apr 2014, 17:01
by live
>Xbatalarm 2.0 is forthcoming.
Thanks, waiting for it.

Xbatalarm 2.0 is out!

Posted: Tue 29 Apr 2014, 21:07
by Whitesnow
Xbatalarm 2.0 is out. I updated first post with changelog, new software version, Italian translation and an image to show how the program looks like now (alert window and settings window).

Feedback here and/or on my blog. Thanks. :)

Locales en Español

Posted: Wed 30 Apr 2014, 00:29
by nilsonmorales
Nice work, congrat Whitesnow

Re: Locales en Español

Posted: Wed 30 Apr 2014, 08:54
by Whitesnow
nilsonmorales wrote:Nice work, congrat Whitesnow
Thank you for your Spanish NLS work. Precious! :)

Posted: Wed 30 Apr 2014, 20:21
by 666philb
thank again Whitesnow

a very handy app ..... i've linked to it in quickpet_precise