I'm running 2.12 beta. When I ran "Batmon" from the DotPups menu, a window popped up saying that the zdrv file was being copied to the same place as my pup_save file. It just sat there for a while, probably because there's just a couple Mbytes left on that partition. So I clicked in the corner to close the window and the computer rebooted. When I ran "Batmon" from the DotPups menu again, the percent of battery showed up in the task bar.

I updated the main post again with some updated work. This time the main executable will alternate between battery status and free memory. By default it switches about every 10 seconds or so.

Also I fixed the script so that the problem with the “mWh” vs “mAh” should work. If your battery status is "mILIKECHICKENSh" it will work...

With the new program you should replace the freememapplet with batmon and this executable should do both tasks ( because it switches ).

This is what I plan on implementing in the next few days.

** Detecting if you have a battery and if so modprobeing it
** Making the color change if your battery is low
** Flashing and warning messages
** If you don't have a battery turning the batmon function off
** Eliminating the batmon.sh script and coding it in c

Kirk, use the tar.gz file at the top it is easy to install and the new one will work bettor.

I need testers because I have a suspicion that the structure of the /proc dir is different on different machines.

1. As any such feature takes up some screen space, I'd suggest it doesn't display the decimal place or MB, just M, for the free memory. 123M is plenty, 123.2MB takes up a bit more space, but seems unnecessary.

2. I'd agree with a previous poster, that swapping is less preferable to one fixed display. (I guess it sort of contradicts my other comment!)

Thinking further ahead, would it be possible for batmon to also perform a graceful shutdown if the % gets below a threshold? I usually use my laptop on mains power, but have left it on battery once or twice and found it dead when I've come back. Thus it hasn't saved to disk, so there is a risk of losing stuff.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum