maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] bnf - nifty little tool, allowing to have battery info at glance (https://talk.maemo.org/showthread.php?t=84452)

sixwheeledbeast 2012-05-28 17:33

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Quote:

Originally Posted by tingu699 (Post 1213760)
please can someone help me how to do this?
thank you

PM Sent.......

branja 2012-06-19 16:21

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
It's a great app!

but...How to calibrate it?

I can only make it work via ``sudo gainroot bnf´´...
it says that the full charge is at 795 mAh & it doesn't matter if I use BME or some other battery.

p.s. It olso displays that calibration is 0 & vdq is 0.

sixwheeledbeast 2012-06-19 17:41

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Here Was covered further up, I agree it should be in a wiki or OP.

peterleinchen 2012-06-19 18:46

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
This is THE wiki ;)
But maybe it should be at least in first post. Estel?

Estel 2012-06-23 20:55

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Good idea, adding :)

karlitos 2012-07-16 20:52

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Hello, I am still able starting the bnf only from the terminal after I switch to the root shell (sudo gainroot). If I start bnf from its application icon (menu, shortcut ...) only blank sscreen appears.
I tried to find a solution, I even blacklisted the bq27x00-battery modul, but still no luck. Can anyone help me with this issue please ?

peterleinchen 2012-07-16 21:13

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Looks like your desktop file is missing sudo rights.

Try
Code:

cat /usr/share/applications/hildon/bnf.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=bnf
Type=Application
Exec=sudo /opt/scripts/bnf.sh
Icon=statusarea_battery_full100

and if you are missing the msudom. then edit via leafpad (or nano. vi. ...) and add that sudo. maybe will need sudser installed hor update sudoers file, if you know howj.

please have in mind. that i do have a personal installation of bnf, so maybe estel will know more ...

--edit
NOW I remember (as it happened again to me)!
Sometimes the hildon-home hangs. Then you can not start any self-placed widgets/programs from desktop. This also hinders notifications for missed calls or SMS/mails. AND also the display of self made notfications like bnf uses. A restart will help out (there is also other workaround posted by me somewhere else in this forum ;)).

sifo 2012-07-16 21:20

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Here is the bnf.desktop without any edit

Code:


[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=bnf
Type=Application
Exec=sudo bnf
Icon=statusarea_battery_full100
X-App-Loading-Image=none


karlitos 2012-07-17 21:06

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Thank you very much. Had to change the exec command in the .desktop file from bnf to /usr/sbin/bnf and now it works just fine.

peterleinchen 2012-07-17 21:18

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Oops. Estel.
I think then you have to change a bit here (assuming karlitos installed from repo).
Sudoing an exe without full path works only if location is in path. /usr/sbin is per default not in path for user (but of course for root).


All times are GMT. The time now is 04:13.

vBulletin® Version 3.8.8