Active Topics

 



Notices


Reply
Thread Tools
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#601
Originally Posted by Mentalist Traceur View Post
Alright. Sorry I was snappy. I'm having my own issue elsewhere on my N900 right now (trying to figure out where the hell to get the 'fiasco-flasher' package to flash the kernel from within the N900...).

Well, my only guess is there might be something broken regarding python, or something went wrong during install. Does your battery icon only not appear in the status menu icon tray, or is it also gone from the pop-up menu as well? Also, can you post what is located inside this file:

/ect/hildon-desktop/status-menu.plugins ?
yes gone from both...


[rtcom-presence-ui.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/rtcom-presence-ui.desktop
X-Status-Area-Position=7
X-Status-Menu-Position=7

[connui-bluetooth.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-bluetooth.desktop
X-Status-Area-Position=8
X-Status-Menu-Position=6

[location.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/location.desktop
X-Status-Area-Position=9
X-Status-Menu-Position=8

[hildon-status-menu-usb.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/hildon-status-menu-usb.desktop
X-Status-Area-Position=10
X-Status-Menu-Position=9

[sync-plugin.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/sync-plugin.desktop
X-Status-Area-Position=11
X-Status-Menu-Position=12

[as-status-applet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/as-status-applet.desktop
X-Status-Area-Position=12
X-Status-Menu-Position=14

[fmtx.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/fmtx.desktop
X-Status-Area-Position=13
X-Status-Menu-Position=15

[bluetooth-headset.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/bluetooth-headset.desktop
X-Status-Area-Position=14
X-Status-Menu-Position=16

[connui-bluetooth-transfer.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-bluetooth-transfer.desktop
X-Status-Area-Position=15
X-Status-Menu-Position=17

(END)
 

The Following User Says Thank You to extendedping For This Useful Post:
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#602
status-menu.plugins is messed up.
Can you also attach status-menu.plugins.ap?
 
juise-'s Avatar
Posts: 186 | Thanked: 192 times | Joined on Jan 2010 @ Finland
#603
Originally Posted by Mentalist Traceur View Post
So that's some initial, non-technical documentation on the conflict between BME and bq27x00_battery. Wish I had the know-how to report the techical details of how this occurs.
I have an educated guess for the reason and type of conflict here.

The easiest (and only?) way to read values from BME is through HAL. One could run a `lshal | grep battery.charge_level.percentage´ command on shell for example, and see what BME thinks is the current value.

However, when the bq module is inserted, it also starts to provide a similarly named value to HAL. Indeed, you can repeat the above lshal command when bq driver is active, and it outputs two (different) values for percentage. Apps that read the percentage this way have a good chance to get confused.

Properly selecting what values to read can be done with -u switch to lshal:
Code:
lshal -u /org/freedesktop/Hal/devices/bme
lshal -u /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0
or by using the hal-device command:
Code:
hal-device bme
hal-device computer_power_supply_battery_bq27200_0
As far as I understand, this is the only kind of conflict there exists between BME and the bq driver.
__________________
Trout have underwater weapons.

Last edited by juise-; 2010-11-03 at 10:10. Reason: Adding note about hal-device
 

The Following User Says Thank You to juise- For This Useful Post:
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#604
Can anybody help me here? It was really nice prior to having to reflash knowing apx how much I had left, I hate the default battery candle but that is what I am stuck with now
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#605
Originally Posted by extendedping View Post
Can anybody help me here? It was really nice prior to having to reflash knowing apx how much I had left, I hate the default battery candle but that is what I am stuck with now
Originally Posted by 412b View Post
status-menu.plugins is messed up.
Can you also attach status-menu.plugins.ap?
No additional info, no crystal ball nearby.
 

The Following User Says Thank You to 412b For This Useful Post:
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#606
Originally Posted by 412b View Post
No additional info, no crystal ball nearby.
sorry I have a few postings on the prior page, basically, installing this app removes my battery icon and seems to do nothing else...I had to reflash everything when I went to pr 1.3, but this app worked for me in pr 1.2
 
Posts: 291 | Thanked: 134 times | Joined on Dec 2009 @ North-west, UK
#607
Could this be made to work without requiring a deamon running in the back ground ? At least as an option if someone wanted just the better battery display ?
__________________
Go on, press the 'thanks' link, you know you want to
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#608
Originally Posted by 412b View Post
status-menu.plugins is messed up.
Can you also attach status-menu.plugins.ap?
thanks here is is...

[clock-plugin.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/clock-plugin.desktop
X-Status-Area-Permanent-Item=Clock
X-Status-Menu-Position=3

[connui-cellular.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-cellular.desktop
X-Status-Area-Permanent-Item=Special-Item-0

[status-area-applet-battery.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/status-area-applet-battery.desktop
X-Status-Area-Permanent-Item=Special-Item-1
X-Status-Menu-Position=1

[connui-internet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-internet.desktop
X-Status-Area-Position=1
X-Status-Menu-Position=5

[rtcom-notification-ui.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/rtcom-notification-ui.desktop
X-Status-Area-Position=2

[sharing-manager-status.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/sharing-manager-status.desktop
X-Status-Area-Position=3
X-Status-Menu-Position=13

[ham-notifier.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/ham-notifier.desktop
X-Status-Area-Position=4
X-Status-Menu-Position=10

[ham-updates.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/ham-updates.desktop
X-Status-Area-Position=5
X-Status-Menu-Position=11

[volume.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/volume.desktop
X-Status-Menu-Position=2

[status-area-applet-profiles.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/status-area-applet-profiles.desktop
X-Status-Area-Position=6
X-Status-Menu-Position=4

[rtcom-presence-ui.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/rtcom-presence-ui.desktop
X-Status-Area-Position=7
X-Status-Menu-Position=7

[connui-bluetooth.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-bluetooth.desktop
X-Status-Area-Position=8
X-Status-Menu-Position=6

[location.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/location.desktop
X-Status-Area-Position=9
X-Status-Menu-Position=8

[hildon-status-menu-usb.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/hildon-status-menu-usb.desktop
X-Status-Area-Position=10
X-Status-Menu-Position=9

[sync-plugin.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/sync-plugin.desktop
X-Status-Area-Position=11
X-Status-Menu-Position=12

[as-status-applet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/as-status-applet.desktop
X-Status-Area-Position=12
X-Status-Menu-Position=14

[fmtx.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/fmtx.desktop
X-Status-Area-Position=13
X-Status-Menu-Position=15

[bluetooth-headset.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/bluetooth-headset.desktop
X-Status-Area-Position=14
X-Status-Menu-Position=16

[connui-bluetooth-transfer.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-bluetooth-transfer.desktop
X-Status-Area-Position=15
X-Status-Menu-Position=17
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#609
Okay, basically, it looks like you had an Advanced Monitor install glitch. This is what my status-menu.pluging looks like:
Code:
[clock-plugin.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/clock-plugin.desktop
X-Status-Area-Permanent-Item=Clock
X-Status-Menu-Position=3

[connui-cellular.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-cellular.desktop
X-Status-Area-Permanent-Item=Special-Item-0

[advanced-power.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/advanced-power.desktop
X-Status-Area-Permanent-Item=Special-Item-1
X-Status-Menu-Position=1

[status_area_cpumem_applet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/status_area_cpumem_applet.desktop
X-Status-Area-Position=1

[wifi-signal-applet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/wifi-signal-applet.desktop
X-Status-Area-Position=2

[connui-internet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-internet.desktop
X-Status-Area-Position=4
X-Status-Menu-Position=5

[rtcom-notification-ui.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/rtcom-notification-ui.desktop
X-Status-Area-Position=5

[sharing-manager-status.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/sharing-manager-status.desktop
X-Status-Area-Position=6
X-Status-Menu-Position=13

[ham-notifier.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/ham-notifier.desktop
X-Status-Area-Position=7
X-Status-Menu-Position=10

[ham-updates.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/ham-updates.desktop
X-Status-Area-Position=8
X-Status-Menu-Position=11

[volume.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/volume.desktop
X-Status-Menu-Position=2

[status-area-applet-profiles.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/status-area-applet-profiles.desktop
X-Status-Area-Position=9
X-Status-Menu-Position=4

[rtcom-presence-ui.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/rtcom-presence-ui.desktop
X-Status-Area-Position=10
X-Status-Menu-Position=7

[advanced-interface-switcher.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/advanced-interface-switcher.desktop
X-Status-Area-Position=3
X-Status-Menu-Position=6

[location.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/location.desktop
X-Status-Area-Position=11
X-Status-Menu-Position=8

[hildon-status-menu-usb.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/hildon-status-menu-usb.desktop
X-Status-Area-Position=12
X-Status-Menu-Position=9

[sync-plugin.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/sync-plugin.desktop
X-Status-Area-Position=13
X-Status-Menu-Position=12

[as-status-applet.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/as-status-applet.desktop
X-Status-Area-Position=14
X-Status-Menu-Position=14

[fmtx.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/fmtx.desktop
X-Status-Area-Position=15
X-Status-Menu-Position=15

[bluetooth-headset.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/bluetooth-headset.desktop
X-Status-Area-Position=16
X-Status-Menu-Position=16

[connui-bluetooth-transfer.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/connui-bluetooth-transfer.desktop
X-Status-Area-Position=17
X-Status-Menu-Position=17
Keep in mind when you look through the above that I added two things, and moved the order of stuff around (by changing the position numbers). However, in general, it's useful. Namely this part:
Code:
[advanced-power.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/advanced-power.desktop
X-Status-Area-Permanent-Item=Special-Item-1
X-Status-Menu-Position=1
What you can do is, as root, copy your status-menu.plugins.ap as status-menu.plugins, and then replace the part that says:
Code:
[status-area-applet-battery.desktop]
X-Desktop-File=/usr/share/applications/hildon-status-menu/status-area-applet-battery.desktop
X-Status-Area-Permanent-Item=Special-Item-1
X-Status-Menu-Position=1
with the above chunk (the one you're replacing tells hildon to use the original battery, one you're replacing it with tells hildon to use the Adv. Power one).

Or you can try uninstalling and reinstalling advanced power. The status menu getting messed up is probably a one-time glitch.

tomchiverton: I don't think it's possible. The advanced power battery display is 'better' than the stock mainly because of what the daemon does. I wouldn't worry about it influencing performance or battery. The N900 firmware has a bunch of daemons in it already.
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#610
thanks I wll check this out when I have ssh access. sure hope I don't end up having to do a total reflash (already has one this week).

a restart does not help.

so the process would be install the app and after it does not show up then edit the config correct?
 
Reply

Tags
applet, battery, python, statusbar


 
Forum Jump


All times are GMT. The time now is 07:14.