Xbatalarm

Core libraries and systems
Message
Author
User avatar
Whitesnow
Posts: 118
Joined: Tue 20 Nov 2007, 19:18
Location: Italy

Xbatalarm

#1 Post 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.
Attachments
Xbatalarm-2.1_x86.pet
Xbatalarm 2.1, monitor utility for laptop battery
(2.01 KiB) Downloaded 721 times
Xbatalarm_NLS-IT-2.1_x86.pet
Italian translation of Xbatalarm 2.1
(1.15 KiB) Downloaded 522 times
Last edited by Whitesnow on Wed 07 May 2014, 01:55, edited 3 times in total.
[b][i][color=darkred][size=134]*.* Snow *.*[/size][/color][/i][/b] :wink:

carenrose
Posts: 36
Joined: Tue 11 Dec 2012, 03:22

#2 Post by carenrose »

Very nice :D

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#3 Post 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!
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
josejp2424
Posts: 556
Joined: Sun 01 Aug 2010, 22:35
Contact:

excellent

#4 Post by josejp2424 »

excellent, if you do not mind I'll put it to translate momanager, so it can be translated into their language users.

User avatar
josejp2424
Posts: 556
Joined: Sun 01 Aug 2010, 22:35
Contact:

locales es

#5 Post by josejp2424 »

locales -es momanager. hp 530 dual-core
Attachments
image-3.png
(8.33 KiB) Downloaded 1696 times

User avatar
Whitesnow
Posts: 118
Joined: Tue 20 Nov 2007, 19:18
Location: Italy

Xbatalarm as Momanager entry?

#6 Post 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?
[b][i][color=darkred][size=134]*.* Snow *.*[/size][/color][/i][/b] :wink:

User avatar
josejp2424
Posts: 556
Joined: Sun 01 Aug 2010, 22:35
Contact:

xbatalarm-momanager

#7 Post by josejp2424 »

hi whitesnow here send Xbatalam to traduce withmomanager and locale-es to spanish

now every user will change lang with momanager
Attachments
xbatalarm-momanager.tar.gz
(956 Bytes) Downloaded 808 times
locale-es-xbatalarm.tar.gz
(714 Bytes) Downloaded 840 times
Last edited by josejp2424 on Fri 19 Apr 2013, 00:01, edited 2 times in total.

User avatar
josejp2424
Posts: 556
Joined: Sun 01 Aug 2010, 22:35
Contact:

momanager

#8 Post by josejp2424 »

in precise if you put in console appears momanager translator. you need the devx loaded

User avatar
josejp2424
Posts: 556
Joined: Sun 01 Aug 2010, 22:35
Contact:

#9 Post by josejp2424 »

sorry for my English

User avatar
Whitesnow
Posts: 118
Joined: Tue 20 Nov 2007, 19:18
Location: Italy

#10 Post 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. :)
[b][i][color=darkred][size=134]*.* Snow *.*[/size][/color][/i][/b] :wink:

User avatar
josejp2424
Posts: 556
Joined: Sun 01 Aug 2010, 22:35
Contact:

Xbatalarm_NLS-es_AR-1.2_x86

#11 Post by josejp2424 »

HI Whitesnow , new locales-es xbatalarm .
Attachments
Xbatalarm_NLS-es_AR-1.2_x86.pet
(833 Bytes) Downloaded 793 times

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#12 Post 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_

User avatar
Whitesnow
Posts: 118
Joined: Tue 20 Nov 2007, 19:18
Location: Italy

Xbatalarm new release is coming

#13 Post 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.
[b][i][color=darkred][size=134]*.* Snow *.*[/size][/color][/i][/b] :wink:

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#14 Post 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.

User avatar
Whitesnow
Posts: 118
Joined: Tue 20 Nov 2007, 19:18
Location: Italy

Xbatalarm 2.0

#15 Post 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. :)
[b][i][color=darkred][size=134]*.* Snow *.*[/size][/color][/i][/b] :wink:

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#16 Post by live »

>Xbatalarm 2.0 is forthcoming.
Thanks, waiting for it.

User avatar
Whitesnow
Posts: 118
Joined: Tue 20 Nov 2007, 19:18
Location: Italy

Xbatalarm 2.0 is out!

#17 Post 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. :)
[b][i][color=darkred][size=134]*.* Snow *.*[/size][/color][/i][/b] :wink:

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

Locales en Español

#18 Post by nilsonmorales »

Nice work, congrat Whitesnow
Attachments
Xbatalarm_NLS-ES-2.0_x86.pet
Spanish locales for 2.0
(1.11 KiB) Downloaded 308 times
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

User avatar
Whitesnow
Posts: 118
Joined: Tue 20 Nov 2007, 19:18
Location: Italy

Re: Locales en Español

#19 Post by Whitesnow »

nilsonmorales wrote:Nice work, congrat Whitesnow
Thank you for your Spanish NLS work. Precious! :)
[b][i][color=darkred][size=134]*.* Snow *.*[/size][/color][/i][/b] :wink:

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#20 Post by 666philb »

thank again Whitesnow

a very handy app ..... i've linked to it in quickpet_precise
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

Post Reply