![]() |
Re: [Support thread] Billboard Standby Screen
You'll have to enable the time calculating first. As root:
Code:
qdbus --system org.freedesktop.Hal /org/freedesktop/Hal/devices/bme org.free desktop.Hal.Device.SetPropertyBoolean battery.remaining_time.calculate_per_time trueEDIT: Spoke too soon. I thought it worked because I got something other than 0 after setting that key to 'true'. Turns out I just plugged it in and that changed the remaining time value, not the change to the battery.remaining_time.calculate_per_time key. Sorry... :( |
Re: [Support thread] Billboard Standby Screen
and could not be put only the path?
from Settings-Device-Battery just guessing :rolleyes: |
Re: [Support thread] Billboard Standby Screen
MeeGo::QmBattery::getRemainingIdleTime in Qt
|
Re: [Support thread] Billboard Standby Screen
depends: python-qmsystem
Code:
#!/usr/bin/pythonCode:
{script:/path/to/script.py 2>/dev/null} |
Re: [Support thread] Billboard Standby Screen
It doesn't work for me and the bluetooth consumtion script doesn't work for me too. But, i flashed my N9 recently, so, am i missing to install extra python packages to make it work? Thanks in advance.
|
Re: [Support thread] Billboard Standby Screen
Sorry, Vanga mode is off today.
|
Re: [Support thread] Billboard Standby Screen
It's too complicated for me... :(
|
Re: [Support thread] Billboard Standby Screen
Sorry, i can't help you to use copy-paste. You should born with this skill. Nobody can teach you if you can't. RI'm very sorry, really.
|
Re: [Support thread] Billboard Standby Screen
I very much thank you for trying to help you!
You're doing a great job! I'm going to learn. Thank you again! |
Re: [Support thread] Billboard Standby Screen
Would it be somehow possible to hook-up and extract battery information (Idle, average, active current consumption etc.) provided by battery usage app by using shell or python scripts ?
|
Re: [Support thread] Billboard Standby Screen
Quote:
https://github.com/harmattan/billboa...mit/babeb97e06 |
When billboard going to update?
|
Re: [Support thread] Billboard Standby Screen
@jpel try
Code:
qdbus --system org.freedesktop.Hal /org/freedesktop/Hal/devices/bme org.freedesktop.Hal.Device.GetAllProperties |
Re: [Support thread] Billboard Standby Screen
There is also RemainingActiveTime.
And RemainingChargingTime: Code:
#!/usr/bin/pythonCan someone fix that, because I do not know how to do it. Or is it even possible to get this to work correctly? :( E: corrected and put in for testing. |
Re: [Support thread] Billboard Standby Screen
Code:
if batt.getChargingState()==1: |
Re: [Support thread] Billboard Standby Screen
Quote:
Code:
#!/usr/bin/pythonI guess that in order to this work and give reliable results you would have to use: Code:
startCurrentMeasurement (Period rate)Code:
stopCurrentMeasurement ()I was thinking if there was an easy way of getting all this information from battery usage app that has already all needed data gathered since the last recharge. |
Re: [Support thread] Billboard Standby Screen
Nice module, this QmSystem...
Power saving mode state: Code:
#!/usr/bin/pythonInstall the QmSystem module (apt-get install python-qmsystem as root) and it should work. |
Re: [Support thread] Billboard Standby Screen
Quote:
Now I read your post properly. I left the link to gitorious... There is a python example for battery related stuff here. |
Re: [Support thread] Billboard Standby Screen
small variation.
shows remaining charging time if charger connected shows average remaining usage time ( (idle+talk) / 2) if charger disconnected using current psm mode to detect remaining time (powersave or not) Code:
#!/usr/bin/python |
Re: [Support thread] Billboard Standby Screen
Installed qmsystem but nothing works :confused:.
|
Re: [Support thread] Billboard Standby Screen
just nothing? even terminal and you cant provide extra innfo about "nothing works"? sadly :(
|
Re: [Support thread] Billboard Standby Screen
Hello
I once again have problem that I can't solve with these scripts. I am trying to get the "Estimated battery time" by Coderus here. With apt-get install python Code:
~ # apt-get install python-qmsystemBut then, when I try to do sh/path/to/script Code:
~ # sh /home/user/scripts/kayttoaika.pyAnd here is the script, straight copy-paste from post of Coderus from the previous page Code:
#!/usr/bin/pythonSo, what genius have I now managed to screw up :D ? BTW, how often does the billboard update its scripts? I have come to understand that this is somewhat script related? I have noticed that my Wazapp status does not update if I shut down my internet connection and then quickly turn on the stand by screen. I have to click the phone open once again, click it to stand-by and then it has updated the status. Is this correct? I am also using the profilematic forced billboard update, is this the reason for the "lag"? |
Re: [Support thread] Billboard Standby Screen
Boxeri,
Its to be run as "python /path/to/script" not "sh /path/to/script" ;) |
Re: [Support thread] Billboard Standby Screen
So, the genius that I managed to do to screw this up was that for ONCE I actually decided to check first what I was doing. :p If I had just put it to Billboard everything would have been fine.
Everything was correct and it is working now. Could it be possible to add somekind of "Charging" or "Remaining" text depending on the situation? echo something? |
Re: [Support thread] Billboard Standby Screen
Code:
#!/usr/bin/python |
Re: [Support thread] Billboard Standby Screen
Much appreciated!
How about my old question, anyone? "how often does the billboard update its scripts? I have come to understand that this is somewhat script related? I have noticed that my Wazapp status does not update if I shut down my internet connection and then quickly turn on the stand by screen. I have to click the phone open once again, click it to stand-by and then it has updated the status. Is this correct? I am also using the profilematic forced billboard update, is this the reason for the "lag"?" |
Re: [Support thread] Billboard Standby Screen
1 Attachment(s)
Code:
#!/usr/bin/python |
Re: [Support thread] Billboard Standby Screen
1 Attachment(s)
my one :)
|
Re: [Support thread] Billboard Standby Screen
|
Re: [Support thread] Billboard Standby Screen
too many calendar and alarm events :)
btw, how you making standby screen screenshot? |
Re: [Support thread] Billboard Standby Screen
Quote:
|
Re: [Support thread] Billboard Standby Screen
can we apply different text colour for different section?
//edit: got it - Inline color changing ({{red}}, etc...) |
|
Re: [Support thread] Billboard Standby Screen
Quote:
ScreenCapture has a timer to take the screenshot. Pretty easy with that. |
Re: [Support thread] Billboard Standby Screen
Quote:
Is that cepi's new version of whatsapp? |
Re: [Support thread] Billboard Standby Screen
Quote:
|
Re: [Support thread] Billboard Standby Screen
1 Attachment(s)
I'm using this script for the signal-bar:
Code:
#!/bin/shFirst I was like WTF... but on a 2nd thought, this is a superb way to indicate flightmode in BB instead of signal strength, as it is either or. :D Would be great if someone could integrate this in the above script. Thanks. |
Re: [Support thread] Billboard Standby Screen
Win7Mac,
Why not add another elseif condition of 0.0-1 with the printf outputting whatever you want and your second condition of -le 24 can become -le 24 && -ge 0.0-1 or something like that... |
Re: [Support thread] Billboard Standby Screen
yeah... "or something like that..." call me dumb, but I can't get it to show correctly...
I would like to have the bar present all the time, even if signal-% is zero. Only if flightmode is activated it should display "flightmode" instead. Also, it appears to me the script gets screwed because there is no value to read from when in flightmode, so it's not only a matter of numbers, but if the GPRS module is active or not. |
Re: [Support thread] Billboard Standby Screen
the condition you're looking for is:
Code:
if [$percent -eq -1]Edit: This actually won't work. How do you test for negative integers in sh? |
| All times are GMT. The time now is 08:44. |
vBulletin® Version 3.8.8