![]() |
Re: Pybattery - battery statusbar applet with candies
1 Attachment(s)
Great, thanks for the reply.
Which settings dialogue will it take you to? The reason I ask is that I personally think the menu looks nice with the top area kept black. I've attacked a mockup of what I mean. |
Re: Pybattery - battery statusbar applet with candies
Quote:
|
Re: Pybattery - battery statusbar applet with candies
Ok, sounds quite good, though most of those things are accessible via conky.
Any way I can strip that functionality? I literally want an accurate battery status item, lol. |
Re: Pybattery - battery statusbar applet with candies
Quote:
|
Re: Pybattery - battery statusbar applet with candies
I would like to have more possibilities with a button but in the mean time you could remove it.
|
Re: Pybattery - battery statusbar applet with candies
Yeah, would be great if it displays something when we click on it. Otherwise, I would want the transparent background like the volume one too.
|
Re: Pybattery - battery statusbar applet with candies
Quote:
Thanks for the applet, though I think it'd need to be a bit more clear about those values, since I thought (and some others also on IRC-channel) that those were values of how much time was left from the maximum time. Otherwise great job, I'll definitely keep using this. |
Re: Pybattery - battery statusbar applet with candies
umm how did you get your status drop down bar to look like that? with the email and stuff in it? thanks
|
Re: Pybattery - battery statusbar applet with candies
is there any remote possibility that this sweet app can be written to look like widget that we can have running in a desktop as opposed to in the menu the way it appears now? the time left feature is so perfect thank you !!!!!
|
Re: Pybattery - battery statusbar applet with candies
Quote:
http://talk.maemo.org/showthread.php?t=46321 |
Re: Pybattery - battery statusbar applet with candies
I'm not completely clear if the 100% xorg issue is resolved from what is said so far. It sounds like it is, but elsewhere I've seen it mentioned that if you have submenus in your menu it is what causes the xorg bug to remain through reboot and uninstall, so not completely certain. Worth a shot, though, so I'm gonna try it and let you know if I'm still getting the bug.
Furthermore, 412b, you're Russian, yes? I presume you are since you're from Moscow. That said, I was gonna offer adding a Russian translation for the Advance Power Monitor, but I guess that's not necessary? - Edit - Installed the Advanced Power package. Everything works fine, assuming clicking on the battery button is supposed to just close the status menu for the time being (I think you mentioned it'll eventually open a settings menu). I can also verify that, running latest power kernel, installation onto device _while charging_ works fine. (Not sure if anyone else tried that yet, but I know no one in this thread specified if they did.) |
Re: Pybattery - battery statusbar applet with candies
Quote:
Quote:
Quote:
|
Re: Pybattery - battery statusbar applet with candies
any chance you can set this app up so that it appears in a home screen and not in the menu? I would love to just be able to swipe over to it. thanks
|
Re: Pybattery - battery statusbar applet with candies
discodave - you want it to be a widget, if I understand you correctly - something that sits on the desktop. You understand that feeling of having an app (this advanced power thing) being slightly different (in status menu) than you would like (on desktop).
So, why then, do you ask for it to be made that way, when I'm sure you can imagine that plenty of people would much rather have it in the status menu. Why not ask "can you make a version of this app that appears on the desktops", or "can you write a widget to go with this", instead of asking him to just switch the app to desktop from menu, everyone else's preferences be damned? Actually, I think there's other widgets that already do this. Or get the Queen Beecon widget and look up the scripts to configure a BeeCon to do what this thing does but in widget form. Personally, I like the status menu version. I never use widgets myself, and had this been a widget, I wouldn't have bothered, probably, to get it. *Shrug* I'm odd like that. That said, I think this is something that would ideally be a choice. He has this status menu thing seperate from the actual monitoring program package. So anyone can now write a widget for it, as I understand. So making it possible to have a menu version, widget version, or both, shouldn't be too hard. On the other hand, keep in mind the developer is a person with limited time. It's open source though, so anyone else can pick it up, probably. Everyone else: since I installed this, I've had Battery Graph reporting a small yet constant processor activity when idle. I can post the picture up here, if people want to see what I'm talking about. I also installed a few other things that day: BlueMaemo, BT HID Scripts, Kana Test, Kanji Teacher, Gonvert, Liquid War, VGB, VGBA, DeSmuME, RDesktop, and that's it that I recall. (I can check App Manager log.) These are all things I had pre-reflash. No backup, so I was slowly grabbing things back onto my N900. The only ones I can imagine running in background out of those is BT HID Scripts or BlueMaemo. But Advanced Power Manager makes more sense. Because it is running in the background, right? Polling system for battery status and calculating the time left? I haven't noticed a drop in battery life too concretely, but it is looks like there's a pretty constant power draw when otherwise idle now. Anyone else notice this; does this sound like something your Advanced Power Monitor would do, 412b? Would it cound as a bug? |
Re: Pybattery - battery statusbar applet with candies
Quote:
Indeed, time is limited, especially when maintaining 3 widgets and 5(+ number of localizations) packages... Quote:
Quote:
|
Re: Pybattery - battery statusbar applet with candies
Alright, thank you.
In other news, since a reboot earlier today (which I was totally not expecting because I keep forgetting BT HID Scripts forces reboot after every update... ugh, I need to remember that), battery graph has stopped showing the processor activity. So I'm guessing it was something either linked to apt-get doing some background work post-install, or something else in the bowels of the OS I know nothing of. Anyway, I don't have HTop simply because I'm not sure if it actually provides anything I, with my level of knowledge (IE, limited) could benefit from. Ultimately, doesn't just "top" give you the same information? As for PowerTop, I have it, and have used it, but i have yet to really understand much of anything it tells me enough to figure out what's what. At best I understand how much time the CPU is spending in what state. But even then, vaguely, and in a sense I don't think power-top can really tell me what the N900 is doing while it is idle for long periods of time, simply because for me to be running it it has to be partially active already, no? I suppose I can open X-Term, enter "powertop", push the lock switch, and sit there for a minute, then open it up and look at the feedback... *Shrug* Of course, if I wanted to get fancy I would find a way to make it run every X amounts of time, and then write the output somewhere. Let it do so at night... But whatever. The random processor thing stopped, so for the time being, I'm good either way. |
Re: Pybattery - battery statusbar applet with candies
Installed advanced power and it shows a crossed battery icon and "starting apmd" in the status menu even after a reboot.
Running this command python /opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py the modules seem to load correctly, the battery icon becomes normal and status plugin also starts to work. However upon closing the terminal it again stops working,How do I fix this? |
Re: Pybattery - battery statusbar applet with candies
When the phone first boots and before the charger disconnected message pops up the battery status item shows as almost solid white.
Where can I find this battery icon as it's not in usr/share/themes/~theme name~/images. I really like it and want to make a full set around the same style. Thanks |
Re: Pybattery - battery statusbar applet with candies
I'm pretty sure I've seen it in the themes folders somewhere... Since some themes bring in custom battery icons... I'll look into it, and get back to you. (I'll edit this post when I find them)
Alright, it's not in the theme: But it's explained here: http://wiki.maemo.org/Customizing_Maemo#Status_Icons Apparently you can put your own battery icons in "/opt/usr/share/icons/hicolor/scalable/hildon/", and they will be used instead of system icons. Also: if you're interested, I'm probably going to be making myself some battery icons in a similar style as well. (Just felt it was appropriate to get a sense of comradeship about us both liking the almost-white gray battery icon.) |
Re: Pybattery - battery statusbar applet with candies
Quote:
And also try just starting job from xterm as root: Code:
start apmonitord |
Re: Pybattery - battery statusbar applet with candies
As my N900 eventually had sunk, I'm going to release stuff already made and have some rest, untill I'll get another device... Perhaps, it's gonna be N9 (or whatever index next maemo device will have).
|
Re: Pybattery - battery statusbar applet with candies
That's unfortuante. Do you mean literally sunk? Утонуло? Or are you using that to mean broke/died/stopped working? Ironically enough I was going to report a bug regarding this applet - when using the Power Kernel, combined with the method for permanently enabling that Kernel's own battery reporting module ("echo bq27x00_battery >> /etc/modules" as root), I find that Advanced Power under-reports the actual battery percentage left value (More on the Power Kernel's battery reporting here: http://wiki.maemo.org/Kernel_Power#Battery ). By a rather inconsistent amount - 5-20% difference, at various times. I am not sure if this means it was always under-reporting, or if it is only because I have the bq27x00_battery module loaded that the problem occurs. For what it's worth, other battery reporting programs agree with the Advanced Power percentage. HealthCheck, and using the line "${execi 30 hal-device bme |grep "percentage" |awk '{print $3;}'}" in Conky. NetMon has a battery stats page in its program, but Netmon simply fails to load anything on the battery, showing ?s for every value ever since I made bq27x00 load at boot.
Now, here you might be thinking it's the kernel module that's wrong - and it probably is linked to stuff going haywire - but I have repeatedly (I noticed this around a week ago by now, been waiting to see if anyone else reported this or if my thing did nothing) been able to use the N900 for somewhere around 30 minutes to an hour (closer to two hours when on-off using it or not connected to wifi) with the battery icon being completely red, Advanced Power reporting 0.4 percent battery life, and HealthCheck and the above Conky command showing 0% battery life. Furthermore, after a full charge, at best, each of them displays a percentage in the mid 90s (sometimes as low as 84-86), while the Kernel Power's bq27x00 report is 100% after a full charge. Depending on use, the values reported go between 5 (right after a long full charge) to 20% or more of a gap. (With a trend towards the gap increasing as the battery discharges.) Ultimately, this means my batter icon goes red on me when I still have at least an hour very-active-use of battery life left, or approx. 20% capacity. Since you no longer have an N900, I understand you can't really develop or test these applets. Any insight/help you can provide would be great, though. In the meantime, these are open source, correct? I'd be happy to try to dive in to the world of computer programming by trying to pick this and the Advanced Interface Switcher up and continuing from whatever your soon-to-be released versions are. Means progress will halt for a while while I try to make sense of everything, since I have almost no coding language familiarity at all right now, but at least these great applets don't have to stop improving. |
Re: Pybattery - battery statusbar applet with candies
Quote:
Quote:
Quote:
Quote:
|
Re: Pybattery - battery statusbar applet with candies
It sounds like a problem which should be easy to solve. Have you tried to flash your N900 with the current firmware? If there is no problem with the hardware it should work after flashing.
|
Re: Pybattery - battery statusbar applet with candies
Quote:
|
Re: Pybattery - battery statusbar applet with candies
Quote:
Do you know anything about why the two kernel modules (if BME is a kernel module by definition - not sure) conflict? Does BME just always interact with the power kernel poorly, or does the bq27x00 module running at the same time as BME conflict? Is there any documentation or technical details on why the two modules cause problems that you either know or can direct me to? (In the meantime, I'm reading through this entire thread. I'm at page 15 right now, so it'll take a while before I get through the entire thing for any useful info it may have.) As for writing a new wrapper, I myself don't really know where to start with that, but I suspect that by the time I get around to being familiar enough with python for that to make a difference, I will know enough to figure it out. Quote:
Quote:
|
Re: Pybattery - battery statusbar applet with candies
Quote:
|
Re: Pybattery - battery statusbar applet with candies
Just got back in the city :)
Quote:
Quote:
Quote:
Quote:
|
Re: Pybattery - battery statusbar applet with candies
Ok, just installed this app but after reboot I don't have the battery-status-icon on the desktop anymore. Also no detailed info in the menu.
|
Re: Pybattery - battery statusbar applet with candies
Any ideas (I didn't read the entire thread) when this will be released into extras?
|
Re: Pybattery - battery statusbar applet with candies
Dreamer, this thing isn't going to have detailed info in the menu yet. All the other details were originally displayed in a different way on the N8x0s, and the fully menu hasn't been ported over to the N900's way of displaying things yet.
RenaldoTT - Not for a long time. I would say that you're not missing out on too much if you're worried about enabling Testing/Devel. It's a really good application, but unless you want approximate times left active and idle for battery life, you can probably be okay without this one. (Though I felt it was a bit more accurate than the default one unless you're running the power kernel's bq27x00 module. Then it and BME conflict, causing it to underreport the charge left.) On that note, I never did test what happens when I rmmod that thing. (Lately my battery has developed another bug too, in the form of not switching to the green light when finishing charging, funny enough. Doubt it has to do with this though. Currently looking it up on here.) |
Re: Pybattery - battery statusbar applet with candies
Sorry for being late, finally got ill on the weekend.
Updated SVN for all projects. SVN includes all the build scripts needed for AP*, AIS, MediaBox Home Widget. Quote:
|
Re: Pybattery - battery statusbar applet with candies
By the way: as of yesterday I ran "rmmod bq27x00_battery". Nothing crashed or died or exploded.
NetMon (which couldn't load battery data before when the bq27x00 module was interphering with BME) started working fine. I had also been developing a charging bug (including when phone was off) where the battery would obviously reach 100%, but the LED would keep winking yellow, instead of steady green. First charge after rmmod-ing the thing, it charged up as normal, indeed, reported full charge a lot sooner that I was expecting (since I had gotten used to it charging for 8 hours and still blinking). 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. Meanwhile, university classes have been taking up my time. I have not had the time to fully get scratchbox (which I probably don't need since this is python based - unsure on this currently) working, let alone start learning python - however, I will be doing my best to start as soon as possible. |
Re: Pybattery - battery statusbar applet with candies
Just thought I'd let you know in this thread (though you probably already know from the other one, about Interface Switcher), with all the packages updated to the way it looks in the SVNs, Advanced Power and Advanced Power Monitor seem to be working fine. Clicking on the battery button in the status menu brings up a dialog with two tabs and a 'save' button. The Preferences tab is empty, the About tab contains your name, copyright info and I am pretty sure your email (don't have the N900 close by to check while typing this.)
And the / between active and idle times left has been replaced with a | which I think looks better, so that's good. Anyway, if that's what your latest version in the SVNs is supposed to look like, cool, if not, then something didn't work. But near as I can tell everything is working fine. |
Re: Pybattery - battery statusbar applet with candies
Quote:
|
Re: Pybattery - battery statusbar applet with candies
Ah. That's good then. (Though to be fair, your N900 sunk before PR1.3 came out. So you have that confirmed to be working. There wasn't any reason to think it would stop working, but you never know, so at least this confirms that.)
|
Re: Pybattery - battery statusbar applet with candies
Guys sorry if this has been answered but hey I can' read 60 pages. I installed and expected to see...well something...all that happened was my battery icon went away.....
|
Re: Pybattery - battery statusbar applet with candies
Did you read the first post? Did you see the picture that shows you what happens? Did you read the red text saying "Remember to reboot your device if status-menu is messed up"?
Anyway, sorry if that's dickish, but I am more than understanding of not reading 60 pages - not reading the first post, on the other hand. Try restarding hildon-status-menu - in x-term, type "killall hildon-status-menu". Wait as the status menu vanishes and reappears. If the battery icon is still not back, try rebooting. If that doesn't work, then we can go from there. |
Re: Pybattery - battery statusbar applet with candies
Quote:
|
Re: Pybattery - battery statusbar applet with candies
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 ? |
| All times are GMT. The time now is 20:48. |
vBulletin® Version 3.8.8