Have installed it under 3.01. I do not see a file .asapmrc anywhere, yes I have enabled hidden files. Can not find it with Gtkfind or Pfind. It did change the background color for part of my taskbar to the left of the battery monitor.

On my tower I have an APC Back-UPS XS 1500. It has a USB connection that Win see's. Is there a program to monitor UPS's that will work for Puppy?

Rather then having to have two different programs, could this one have an option to do so? I am willing to be the tester, but 3.01 compatability would be a help as that is what I will stay with until 4.0x is fully released.

For 3.01 Brad_chuck made a battery monitor, I think he made it into a dotpup package, search the forum. I made a pet package out of one of his early versions that I've been using up until Dingo (doesn't work in dingo). I'll attach it.

Battery-monitor.pet

Description

Pet package of Brad_chuck's battery monitor. For 3.01 or earlier. Will not work in Dingo.

# asapm
Battery BAT1 is available
asapm: open_apm_device_file: The file does not exist.

The attached file shows that the monitor started as a separate application as you said, not in the tray. I pulled the power cord a few minutes ago, and it now says 97%. So in principle it's doing something.

In the meantime I've been looking at the System Information (pretty funky). It says 66% and is dropping.

I have just restarted JWM and now the tray says 94%.

I'm going to boot Windows (oh the shame) and see what it reckons to the level of charge. Back soon.

# asapm -bat BAT1
asapm: open_apm_device_file: The file does not exist.
# asapm -bat BAT1
asapm: open_apm_device_file: The file does not exist.
# asapm -bat BAT1
asapm: open_apm_device_file: The file does not exist.
# asapm
asapm: open_apm_device_file: The file does not exist.
# asapm
Battery BAT1 is available
asapm: open_apm_device_file: The file does not exist.

I typed the 2 different lines several times soon after booting, because after various previous boots and doing other stuff, sometimes it displayed and sometimes it didn't. The last attempt gave a proper display on the separate application and then restarting JWM put it in the tray. Plugging power back in makes the mains cable go red.

So all the pieces seem to be there, but just not joined together in my case.

Perhaps it needs to load something else, which isn't instant, thus the asapm needs to be run a minute or 2 after getting the desktop?

Also bottom of the 88% is chopped off sightly. Maybe it's a function of the screen size I've got, but a 1024x768 must be pretty common?

The value from this matches with that in Windows, so I think the System Information has the wrong maximum capacity.

So Rickrandom, your saying that it's behavior is intermittent or random ? But seriously, that makes it difficult. Sometimes when you boot ram only Puppy can't find all of the kernel modules (eg drm modules won't load when ram only), don't know if that could be the problem or maybe a poor acpi implementation for your laptop or some problem with the app. If it's too unstable for you to use, you could try booting with acpi=off apm=on. Asapm supports apm too. This is assuming apm is supported on your laptop and it's safe to use. Safe meaning the fan still works.

Quote:

Also bottom of the 88% is chopped off sightly. Maybe it's a function of the screen size I've got, but a 1024x768 must be pretty common?

In order to see the whole battery monitor, /root/.jwmrc-tray line 2 height="26" should be changed to height="28". I reported this to Barry on the Dingo A6 thread.

Noticed on the Bug thread you were booting grub from ntfs? Is that grub4dos? Also the root=/dev/ram0 is no longer needed.

I rearranged the layout of the applet a bit, made it smaller and simpler, so it integrates better with different size panels and is more clear.
I'm attaching the source code, in case anyone is interested.
(note that I didn't modify the "embossed" background, so don't try using it that way)_________________What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mindLast edited by Dougal on Sun 12 Apr 2009, 05:51; edited 1 time in total

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