maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Pybattery - battery statusbar applet with candies (https://talk.maemo.org/showthread.php?t=24905)

gabby131 2010-08-18 12:47

Re: Pybattery - battery statusbar applet with candies
 
tried killing xorg via xterm. so it gave me a reboot, but still same issue

IceJunior 2010-08-18 12:49

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by 412b (Post 790396)
Is there line 'USING: Nokia's BME'? It should be in the log file.


Nope. Just the lines I posted.

Quote:

Originally Posted by 412b (Post 790396)
Yep... For unknown for me at the moment reason Xorg starts using CPU at the level of 100%, when apmonitord is stopped... Right after reboot it's normal on my device...

Not the same here, even after de-install an reboot, xorg kills my battery and CPU. ;)

412b 2010-08-18 13:08

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by IceJunior (Post 790422)
Nope. Just the lines I posted.

That's odd... It should write it, if loaded properly.
Quote:

Originally Posted by IceJunior (Post 790422)
Not the same here, even after de-install an reboot, xorg kills my battery and CPU. ;)

I got a mistype in upstart script.
As root edit /etc/event.d/apmonitord:
Change line starting with
Code:

stop on ...
to
Code:

stop on starting shutdown
And post the results. It should help.

pedro-25 2010-08-18 13:20

Re: Pybattery - battery statusbar applet with candies
 
i have uninstalled advance power cause i did not work but now i have xorg running at 100% any way of sorting this without reflashing?

fw190 2010-08-18 13:25

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by 412b (Post 790460)
That's odd... It should write it, if loaded properly.


I got a mistype in upstart script.
As root edit /etc/event.d/apmonitord:
Change line starting with
Code:

stop on ...
to
Code:

stop on starting shutdown
And post the results. It should help.

Did as You wrote and saved the file. Then made a reboot and the same thing.

412b 2010-08-18 14:30

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by fw190 (Post 790484)
Did as You wrote and saved the file. Then made a reboot and the same thing.

Then the last thing to change is
Code:

console owner
to
Code:

console none
as Xorg uses console to write its log.

IceJunior 2010-08-18 14:49

Re: Pybattery - battery statusbar applet with candies
 
It seems that the xorg problem is solved, your fix worked... Thanks for that! :)

But the app problem still exists... ;) still battery icon with a cross inside, and it sasy 'APMD disconnected' and when I click on it, it changes to 'Starting APMD'

412b 2010-08-18 15:48

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by IceJunior (Post 790579)
It seems that the xorg problem is solved, your fix worked... Thanks for that! :)

But the app problem still exists... ;) still battery icon with a cross inside, and it sasy 'APMD disconnected' and when I click on it, it changes to 'Starting APMD'

Heh... Moving right way is a good way :)
Can you attach a screenshot of statusbar and status-menu? Because I don't remember such an icon used in AP )))

I'll upload package with Xorg fix tomorrow as I won't be at home tonight.

IceJunior 2010-08-18 16:29

Re: Pybattery - battery statusbar applet with candies
 
Here they are :)

http://img691.imageshack.us/img691/6...eenshot02x.png



http://img713.imageshack.us/img713/8...reenshot00.png


I took them right after a fresh install of AP(M).

brandonc 2010-08-18 16:52

Re: Pybattery - battery statusbar applet with candies
 
any fix for the Xorg locking at 100% problem? Its kind of a drag seeing as it just drains the battery


All times are GMT. The time now is 03:56.

vBulletin® Version 3.8.8