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)

Jordi 2012-05-25 19:13

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Nice tool. Plans to have this for the N9? (errm)

Estel 2012-05-25 19:23

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
@Jigzy
Probably perfectly doable for everyone, via QueenBeeconWidget. although, as it's reading data via i2cget, it couldn't update itself constantly - something like 1 auto update per minute (+ on touch) should be ok.

@Jordi
I have no idea, as I don't own N9(50), so NFC if something like ic2tool exists there, what type of charging chip it use, how to handle notifications (are there any?) etc, etc.

So, it's definitely a task for someone owning devices in question, already.

/Estel

saponga 2012-05-25 19:36

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

Originally Posted by Jigzy (Post 1212503)
Love the app! not sure if others would be interested, but is their a possibilty of having a widget displaying all the info?

I don't think its a good idea... Actually, i would like to know if i could uninstall advanced power monitor and save some juice by stopping one more daemon. Does will bnf works propperly if i do that ? BTW, i just did tried the callibration as per Estel's post but my phone shuttdown @3235 mV w/o EDV1 turn to 1. It's charging now but i'm wondering if the callibration was sucessful.
Thanks for the tool Estel.
Edit: Just check that out and "callibration needed" stills 1. But SoC is pretty closer to the power monitor value than before calibration. Should i try recallibrate it ?

Estel 2012-05-25 22:31

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
bnf doesn't rely on APM in any way - you can safely uninstall it. Although it's nice piece of code, I must admit, that I've also uninstalled APM few months ago - bnf suits my need for detailed info, and standard battery indicator is OK for a "glance" battery status. In my case, it was rather about saving memory, instead of CPU cycles.

As for shutting down - just stop bme, while attempting to calibrate. Then, after EDV=1 and VDQ=0, remember to charge device for a while (via charge.sh script, as per my instructions), before turning bme again - or, it will shutdown device due to voltage lower than it's threshold.

/Estel

sixwheeledbeast 2012-05-26 08:36

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

Originally Posted by sixwheeledbeast (Post 1212127)
Thought I'd mention something I found after installing (or not) bnf.
Downloaded via HAM, accidently tapped the fuzzy area on ic2tool execption warning.
bnf "failed to install".
On checking HAM again it wasn't in the repo's.

Turn's out it's installed without ic2tools and when run the desktop goes blank and CPU hits 100%. Only way to stop it is pressing power key.

Ok, I think I got more problems now.
I couldn't uninstall the app from HAM.
Had to apt-get install bnf, apt-get remove bnf.
Then installed via HAM again.

Now with a fresh install bnf still doesn't display anything.

sudo bnf works ok after a reboot but desktop and app lancher icons do nothing.

Is this correct?

Estel 2012-05-26 15:45

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
Of course not. Could You join IRc #maemo, and "ping Estel_"? We would check, what is going on.

/Estel

sixwheeledbeast 2012-05-26 18:38

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

Originally Posted by sixwheeledbeast (Post 1212747)
sudo bnf works ok after a reboot but desktop and app lancher icons do nothing.

Resolved thanks to Estel on IRC.
QCPUFREQ was set to load bq27x00 module.
After unchecking option and a reboot. bnf works perfectly.

peterleinchen 2012-05-26 21:17

Re: [Announce] bnf - nifty little tool, allowing to have battery info at glance
 
2 Attachment(s)
Hey Estel,
just stumbled accidentally over your second package. :)
Nice. Will surely help some people.
(When will see your next deb with battery hot swap via click on widget?)

Seems like something (a script and a desktop file) needs to be deb packaged to get some more deserved attention! ?

Since I am using it since aeons, I just can not remember where/how I got it, via thread or directly from you?
Whatever, I had modified (rearranged, sorted) the output slightly, so it matches my "subjective aesthetic feeling/logic" more :)
Here are my screenies:

Attachment 26584
Attachment 26585

Estel 2012-05-26 23:59

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

Originally Posted by peterleinchen (Post 1213012)
Seems like something (a script and a desktop file) needs to be deb packaged to get some more deserved attention! ?

...and a sudoers file :D

Seriously though, I always thought that place for such - even simplest - things is in repos, instead in some random (or even extra valuable) thread on TMO, which many people can miss. I'm glad You're enjoying it too :)

Repos version of script benefit from some code cleanup (minor things) - probably, You can re-patch them to Your modified version without much problems :)

/Estel

tingu699 2012-05-28 11:45

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

Originally Posted by sixwheeledbeast (Post 1212977)
Resolved thanks to Estel on IRC.
QCPUFREQ was set to load bq27x00 module.
After unchecking option and a reboot. bnf works perfectly.

hi guys. i made the same mistake. now i have the same empty screen problem like sixwheelebeast.
i'm a total noob and dont uderstand whwat is meant by "QCPUFREQ was set to load bq27x00 module.
After unchecking option and a reboot. bnf works perfectly"

please can someone help me how to do this?
thank you


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

vBulletin® Version 3.8.8