Systray's battery icon

Booting, installing, newbie
Message
Author
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#16 Post by Béèm »

Thanks for the pet pemasu.
But I get

Code: Select all

# ./1vattery
No apm data available.
Segmentation fault
# 
I am in spup 311
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#17 Post by pemasu »

Beem. Delete from the /root/Startup/1vattery script everything else but leave exec vattery-acpitool. It might help.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#18 Post by Béèm »

There is no vattery-acpitool in StartUp.
When executed in a terminal, i see acpitool is missing.
Apparently not included in spup 311.
I installed and vattery-acpitool gives the icon in the tray and blue as the battery is charged.
Strange that Micko didn't include the correct battery tool.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#19 Post by pemasu »

Beem. I meaned script 1vattery in /root//Startup. Inside that script leave only exec vattery-acpitool, delete everything else. Vattery-ibam is not usable to all.
There was in my pet vattery-acpitool and vattery-ibam binaries which were installed in /usr/local/bin.

But installling acpitool seems to fix your problem also. I didnt know that. I have acpitool installed in all my builds and I install it firsthand when I test other Puppies.
My machine probably uses vattery-ibam for battery status and I havent noticed the dependency to acpitool based on above reasons.
That was good tip. Thank you Beem

So my pet needs acpitool and maybe that script editing if it does not work straight. Vattery-ibam (if it works), does not need acpitool.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#20 Post by Béèm »

You're welcome pemasu.
Also, your 'cold'puppy's are nice pieces of work.
I like them.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
sjsrikanth
Posts: 114
Joined: Mon 28 Mar 2011, 06:24
Location: Chennai, India

#21 Post by sjsrikanth »

@john3voltas

Since you say puppy knows about your battery status but shows only a grey icon...I guess there may be a problem with reading the inbuilt .xpm files.
Please back up your 'powerapplet_tray' file in your 'Startup' directory and try installing this pet (its the same applet with different theme). Hope this works!
- You will need to restart xserver after installation.
Attachments
powerappletsjs-2.3.pet
(17.14 KiB) Downloaded 388 times

john3voltas
Posts: 102
Joined: Mon 23 May 2011, 13:10

#22 Post by john3voltas »

It's gone worse.
Now I only have a small red cross icon instead of the battery icon.
This is driving me nuts.
Worst thing is, I do like 525 way better than 431 because of debian/ubuntu compatibility.
Sure wouldn't like to go with plain old 431.
BTW, 431's battery icon works flawlessly.
Cheers

User avatar
sjsrikanth
Posts: 114
Joined: Mon 28 Mar 2011, 06:24
Location: Chennai, India

#23 Post by sjsrikanth »

Sorry it didnt' work, works well with my laptop...anyway. Hope you did back up the applet b4 you installed replace the new one with it if you want to go back to the grey icon. Meanwhile let me think of something else..

User avatar
kenh
Posts: 18
Joined: Tue 07 Jul 2009, 00:17
Location: Tampa Bay
Contact:

#24 Post by kenh »

I'm now using Slacko Puppy 5.3 and the battery icon now works on my Eee pc 900. It shows the amount of charge that's left by the red level in the indicator. Now if I can get a working cpu temp indicator, I would be very happy. :)

bones01
Posts: 371
Joined: Mon 11 Aug 2008, 07:47
Location: Melbourne, Aus

#25 Post by bones01 »

john3voltas wrote:It's gone worse.
Now I only have a small red cross icon instead of the battery icon.
This is driving me nuts.
Worst thing is, I do like 525 way better than 431 because of debian/ubuntu compatibility.
Sure wouldn't like to go with plain old 431.
BTW, 431's battery icon works flawlessly.
Cheers
John, I've finally got some time to try to find an answer to this very same problem. I'm using 5.2.8 on a frugal install, but have the same problem here that I had with 5.2.5.

Did you find an answer?

Bones
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again. Sadly, I couldn't get it fixed :? )
Precise Puppy 5.4 live DVD
Precise 5.7.3 on USB

jdalink
Posts: 1
Joined: Thu 04 Jul 2013, 03:31

#26 Post by jdalink »

hi, i'm currently using Slacko 5.5 and have noticed that i have been experiencing the same problem but after test some of the advices of this post with no results, i manage to solve the problem.
By replacing the "powerapplet_tray" file located in "/root/Startup/" by the file who came with the Precise puppy version. And after an X restart the applet starts to show the status of my battery.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#27 Post by RetroTechGuy »

Thanks pemasu,

Just installed vattery-ibam under 5.28.005. Works great, so far!

(this is the first time that I had a laptop with enough battery that I could run wireless -- so battery capacity becomes relevant))
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

Post Reply