yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] walda:
1.) it happens for example if you run a scheduled backup of titanium backup. it kills the service. maybe any other apps kill other apps for any reason. are you running some kind of system app?

2.) android is not allowed to kill the app. it runs as a foreground service - so an icon in the notification bar is needed (an android must). the problem could be, that we have a bug - ex divide by zero - which kills the app too. then a logcat would be great. if you want further details - PM me how to logcat something.

i dont think that its a bug, because more people including ourselfes would have mentioned it.

maybe tooooo big logfile?

Please see Pt 2. of this posting. its an android must!
[Android Apps and Games] pik1:
This!

Thanks for the info, wasn't thinking of TB to be an app-killer...
[Android Apps and Games] bbernardini:
Trying to download the trial in the market, but there's no "Download" link. Help!
[Android Apps and Games] walda:
never heard that but the apk is in op also.

sent from my SGSII via T*patalk
[Android Apps and Games] walda:
New Screenshots in OP.

Seen minimalisticT widget variables available in 1.0.5 on Tuesday.
[Android Apps and Games] kowi:
drainguard pro was working fine with minimalistic text. but yesterday there were issues with displaying variables. No variables from drainguard are displayed. i tried creating new widgets, reinstall drainguard and minimalistic text. but my widgets stay blank :(

any idea?

btw: thanks for drain guard - a really nice idea!
[Android Apps and Games] walda:
hm... no idea, never had this.

restart of service should have done it too. settings for miniT is checked i think.

are you on trial and under 70%?

sent from my SGSII via T*patalk
[Android Apps and Games] walda:
1.0.5 is out

1.0.5

Widget LIVE Update - Update every single minute ONLY when screen on

Automatic logging of WIFI/BT/GPS State

(GPS will only be logged if an app uses it!)

"Activate PRO Key" in menu

Progress animations when opening/exporting log

12 new minimalisticText variables

Further Details about Variables on our homepage.
[Android Apps and Games] ph3nom:
nice apps,

i cant find the widget to put on homescreen for htc dhd with leeDroid Rom

btw, if you can make the apps record what apps are running during standby and using a lot of battery will be awesome.

Honestly i would really like if DrainGuard not only record drains during standby but all the time with feature putting down all apps that draining the batt.
[Android Apps and Games] walda:
for the.widget you need to install minimalisticText from the market.

there are many apps out, which record the cpu consumption of running apps. i recommend system panel. implementing such functionality would be the overkill for drainguard and would use more battery. so it doesnt make sense. only use such app if you recognize a higher drain than normal.

sent from my SGSII via T*patalk
[Android Apps and Games] Redneck Trash:
Has anyone gotten DrainGuard and minimalisticText to work together?
[Android Apps and Games] walda:
Sure, many are useing it in this way.

Do you have a problem?
[Android Apps and Games] Redneck Trash:
I can't get anything from the app to display in a minimalisticText widget. In the DrainGuard settings I checked 'minimalisticText integration'. When setting up the widget I assumed I need to create a custom layout but I can't get anything to display other than the default options. Knowing me I'm missing something obvious.
[Android Apps and Games] walda:
I attached a ZIP in the OP.

1.) Please download it.

2.) Then put the files in the ZIP to your SDCard into the folder "MinimalisticTextPreferences"

3.) Create a minimalisticText Widget on your screen. 3x1

4.) The settings will be opened, scroll down, press Restore(?) - its called "Wiederherstellen" in german

5.) Select a preference ending with "-calc"

Thats it. The widget should be updated after at least a minute.

Please report back, even if you need more support.

Thanks
[Android Apps and Games] Redneck Trash:
That got it working. Thanks.
[Android Apps and Games] walda:
Great thanks, will add it to the OP.
[Android Apps and Games] eduke:
hi @walda great job!

I wonder if it would be possible to record in the log 'the mA'

...regards :)
[Android Apps and Games] hackeron:
Seems like an interesting app. bought pro and trying it now.. :D

I hope the service doesnt drain much :D
[Android Apps and Games] jonny68:
Will try the trial version and if i like it i will purchase the pro version.:)
[Android Apps and Games] walda:
We thought about that but:

1.) Android doesnt support this value, Android only supports mV and the Temperature. When quering for mV/Temp, our App will be called every 5 seconds because anything changed. Thats what we want to avoid, and i think it doesnt say very much to the user. My opinion.

2.) mA can only be read out of a file in the System folder - i think, as i saw in OpenSource CurrentWidget. It is different from device to device where the file is located or named. So we had to implement many devices and i dont think that its worth it - see Pt 3.)

3.) I use BatteryMonitorWidget for months, good App! In 1.6.x i get 1-5mA in Standby. Fine... Since 1.7.x i get ~20-40 without any other changes. When i go back to 1.6 everything is fine. My battery does not drain more in 1.7 than before. Its only another calculation i think. So i also think, that there isnt a value from the system in that file, it has to be calculated... and therefore the mA are not very seriuos to me. Its good to compare, if you change something on your device, but i think you cant compare between devices.... also my opinion. :D

You can be sure it doesnt ;)
[Android Apps and Games] eduke:
you are the expert!! :)

which is the file in Nexus S and where?

I'll try...

thanks for the answer
[Android Apps and Games] hackeron:
I love this app!!

Heres a screenshot from my nights Idle drain..

http://imageshack.us/photo/my-images/268/snap20110818094243.png/
[Android Apps and Games] walda:
i have no plan, sorry.
[Android Apps and Games] walda:
Wow... in flightmode?
[Android Apps and Games] hackeron:
Nope no flightmode as u can see the 3g is activated and I even have alarm set =)
[Android Apps and Games] walda:
Yes but between 7:00 and 9:42 you could have switched it off ;)
[Android Apps and Games] hackeron:
Idle drain competition

Ok so me and some ppl will have a idle drain contest tonight... the conditions is as follow..

1: The one with least idle drain per hour over atleast 6 hours tonight wins.

2: 3g and wifi must be on at all times, bluetooth OFF, gps: OFF.

3: Screenshot similar to this one have to be posted:

http://imageshack.us/photo/my-images/268/snap20110818094243.png/

(Use shoot me app to take screen)

4: No clear dalvik cache or wipe cache partition before measuring, just use the phone normally like you always do to get a realistic result.

5: Post what phone, rom and kernel your are using.
[Android Apps and Games] pele78:
im barred atm..
[Android Apps and Games] Dark3n:
It should be

/sys/class/power_supply/battery/current_now

but not all devices/kernels offer that file.

Could make a function to test if it exists and thus offer this or hide the feature if the file doesn't exist.
[Android Apps and Games] eduke:
thank you Dark3n :)

later........ argh in the kernel i use (trinity) not exist... i'll ask morfic...

walda i have one problem i cant clear log file... always 'file not found" :eek:
[Android Apps and Games] jonny68:
I must be using this wrong it's not showing me anything with regard to any apps,etc causing drainage:confused: can the dev give me some tips on how to set values, all i want is to find out any apps that are causing unnecessary drainage when idle
[Android Apps and Games] walda:
Thanks. On my SGS2, i looked into all files in that directory, no fitting information. But BatteryMonitorWidget is displaying mA. So, hmm...

I looked on a DHD... there the file is called: "batt_current" which could fit.

So every device has its own as it seems and i dont want to implement "half things". I also think, i need root to access these files, am i wrong? I could imagine, to make it configureable, which file has to be looked into, but when a user gives us a wrong file, fcs are programmed. :D Lets think about it...

We'll look into it and fix it in next version, thanks!

DrainGuard cant show you WHICH app is useing too much power, it only shows you the %/h and you have to decide if its too much... Therefore please take a look at SystemPanel (best i found).

SGS II, Stock Rom at the moment, KF2, 2.3.3
[Android Apps and Games] walda:
Could you look into "/data/data/com.waldafx.DrainGuard/files" and tell me which files you see there?

Which options in "log" Section are enabled at your device?

Thanks
[Android Apps and Games] eduke:
3 files:

DrainGuard.txt

DrainGuard_All.txt

trackball_lights

"Log into file" only...
[Android Apps and Games] walda:
And when you now click "Clear Log" you get "not found"??

We are querying the File "DrainGuard.txt", if it doesnt exists -> Message.
[Android Apps and Games] eduke:
omg! just now 'file deleted'

but yesterday 'not found' i dont know why...:eek:

thanks anyway :)
[Android Apps and Games] hackeron:
My results this night.

Sgs1

stock rom JVR 2.3.4

semaphore 1.5 kernel

¨

So im taking the lead =) lol
[Android Apps and Games] addicted2088:
How's mine? :D

Stock JVR, Talon kernel..

EDIT: image fixed..
[Android Apps and Games] hackeron:
Hmm when I press the back button to exit the application it only says: loading please wait.?

Its behaving really strange now, Now when I just open the logfile same thing happens.. And it seems somethimes it works.. I have cleared dalvik cache and wipe cache partition.. WHat I have done is install speedmod t8 , it worked fine before I flashed a new kernel.. But it sohuldnt be kernel related ?
[Android Apps and Games] walda:
could you please explain step by step which menuitems you press. i will try to reproduce then.

sent from my SGSII via T*patalk
[Android Apps and Games] hackeron:
Yes first I will try to reproduce it myself :).. Now it seems to work. Ill report tomorrow If I get it again.
[Android Apps and Games] eduke:
there is a problem with the variable 'Service since'. If you reboot the phone so does the variable, losing its value to be since the last time you charge the battery.(unplugged)
[Android Apps and Games] walda:
I rewrite the variable display-routines in this second. It will be much better in 1.0.6.

(Start, Plug, unplug, Restart, Reset...)

:)
[Android Apps and Games] NO0B:
Is there any way to buy the app using paypal. I can't use my credit card to buy anything online.
[Android Apps and Games] walda:
You have a PM.

sent from my SGSII via T*patalk
[Android Apps and Games] walda:
1.0.6 is out, Market.

1.0.6

Improved minimalisticText Variables

Restart-Logic rebuilt (ex. after TitaniumBackup)

DrainAlarm Sound is now chooseable

Clear log improved
[Android Apps and Games] no_use_for_a_name:
Could you pls add an option to remove the icon from the notification bar? I use the "Auto memory" app from the market to increase the oom priority of apps in the background that i dont want to get killed. Works fine for me, so the icon is not absolutely necessary. Btw. thx for this great app :)
[Android Apps and Games] walda:
We will take a look into it next week.
[Android Apps and Games] samjunctio:
Hi Walda,

Can you add a feature which will play a sound everytime, battery level decreases by 1% (or may be configurable) irrespective of standby or awake mode.

Thanks.
[Android Apps and Games] walda:
will do it optional for 1.0.8

sent from my SGSII via T*patalk
[Android Apps and Games] walda:
1.0.7 is out

1.0.7

Notifications Vibration optional

Service can be defined as not persistent (Icon disappears), not recommended due to maybe false calculation!!
[Android Apps and Games] eduke:
I am thinking about using Tasker. Can provide a list of available variables? :cool:
[Android Apps and Games] walda:
please look at our homepage https://sites.google.com/site/waldafx/

sent from my SGSII via T*patalk
[Android Apps and Games] eduke:
thanks but,

I just realized that the variables are not usable for anything but minimalistic. is not it? :(
[Android Apps and Games] soulesschild:
I must be dumb but how does this help battery life or is it just a monitor?
[Android Apps and Games] reinbeau:
I'm interested in this answer also. I've got battery monitoring stuff on my phone, and I'll be damned if I can figure out how to use the info it gives me :o
[Android Apps and Games] walda:
if you point me to a sourcecode, we will look into it, if we can make it optionally.

sent from my SGSII via T*patalk
[Android Apps and Games] walda:
drainguard monitors AND informs you if something is going wrong. find out whats going wrong is your job then, but there are apps like systempanel, better batterystats... which helps you then. but these apps dont inform you by themselves, you have to look at them. thats the difference.

sent from my SGSII via T*patalk
[Android Apps and Games] eduke:
I intended to use it tasker https://market.android.com/details?id=net.dinglisch.android.taskerm
[Android Apps and Games] reinbeau:
Well....if we're noticing excessive battery drain, then we already know there's something wrong....how does your information help us figure out what is wrong? I haver all kinds of ways to gather info, it's processing the info I don't understand. Thank you for any guidance.
[Android Apps and Games] vineetksirohi:
good app idea
[Android Apps and Games] walda:
I know Tasker and i was useing it a long time but, what do you want to do and how can we cooperate with tasker?

Yes, but if you are noticing it, it is too late.

Example: You start in the morning 7:00 at 100%. At 10:00 you look at your device and have only 40% battery left; normally in your daily use you should be at approx 80%. We notice you at 8:00 that something is wrong and your battery is at 85%. We monitor every configurable interval - default 30 minutes - if you drained more than - configurable - 3%. -> called DrainAlarm

The main thing from DrainGuard is to show you at every ScreenOn how much battery was drained since last ScreenOff with special skipping of time.

Sure, you can remind your ScreenOff Battery by yourself but...

In 1.0.8 there will be more oprions like Sound/Vibrate/Toast at periodically drains and at configurable limits. Still testing it a bit...
[Android Apps and Games] eduke:
what I seek is how to not have to use minimalistic. expected future have some kind of widget?

Why have two applications, with two services running in the background, consuming resources when you can do it all in one?
[Android Apps and Games] Mr Woolf:
Purchased pro. I actually like the MT integration, but then I'm generally running it anyway.

As much as I like app - I think there are some slightly inflated claims to power saving.
[Android Apps and Games] walda:
no widgets in the future planned. you cannot get the uncountable pros from mt.

woolf: dont exactly understand what you mean. please explain. thy

sent from my SGSII via T*patalk
[Android Apps and Games] Mr Woolf:
It does sort of suggest that drainguard will prevent the short screen on drains - it doesn't, it's just a reporting tool. In no way will it prevent these drains.

I like it for what it is. Much appreciated.

I like it with matted blues.

View attachment 719840
[Android Apps and Games] samjunctio:
Hi,

When is 1.0.8 coming?
[Android Apps and Games] ithehappy:
Hm...using BBS for a long time. Maybe I could give this a try?

Just wanna make sure this app itself doesn't drain any juice, or would it?
[Android Apps and Games] walda:
i think we can release 1.0.8 today.its working fine and the new options are really useable :D

but bbs and dg are doeing different things! dg doesnt drain, believe me ;) but therefore there is the free version, so you can test it.

sent from my SGSII via T*patalk
[Android Apps and Games] walda:
1.0.8 is out

DrainInfo - Periodic/Limit Values for draining (Sound, Toast, Vibrate)
[Android Apps and Games] samjunctio:
Market does not show install button. I am on 200 dpi screen settings. If i change to 240 dpi screen , it starts showing up. This happens for only some applications. Have you put any restriction on dpi in your application?
[Android Apps and Games] walda:
strange.

no restrictions except android version > 2.0

screen size doesnt make sense because of non visible app. hmm...

sent from my SGSII via T*patalk
[Android Apps and Games] themadproducer:
Deleted...
[Android Apps and Games] Guto ViP:
I have PRO version, but the program dont show drain info in notification bar, show only "Running"....
[Android Apps and Games] walda:
with default settings you have to wait 30+50 minutes at screen off for a display.

sent from my SGSII via T*patalk
[Android Apps and Games] Guto ViP:
Hmmmm... Ok, so will see, so the information with display only if my screen stay off for 30+50 minutos... The time count restart if i turn on for call in or any activity?

P.S: Sorry about my english...
[Android Apps and Games] walda:
if your screen on or your call is shorter then 60 secs the calculation will not be interrupted.

these values are all customizable.

please check our hp for detailled information.

sent from my SGSII via T*patalk
[Android Apps and Games] Guto ViP:
Tnx, i will stay with default values... :)
[Android Apps and Games] Guto ViP:
I reinstalled the application and now it is working... :)
[Android Apps and Games] pwoita:
Hi walda, I have noticed this problem significantly on my phone... is it possible to explain what why the problem occurs? what situations cause it?

Also, do I need to customise it by modifying settings or something to make it work for this or does the app take care of everything regarding this issue?

To the users who have installed due to this specific issue, how have you found after using it?

Cheers
[Android Apps and Games] walda:
its normal to every device. exactly why ... i dont know. maybe the mV are converted to % and they drop a little bit slow after much use.

default settings are fine. but we dont solve the drain. we cant do this. we just inform about high drain in calmed down standby.

sent from my Galaxy Note via T*patalk
[Android Apps and Games] pwoita:
ahh ... ok

thank you for the info
[Android Apps and Games] j4nn3n:
This is quiet confusing for a lot of people.

They might think the app takes care of the "battery drains".

Could you edit your description, clearly describing it as a reporting/forcasting tool for batterystats?

PS: It's a pretty nice and informational app, thanks for that!
[Android Apps and Games] iRhyiku:
Most useful thank you :)
[Android Apps and Games] jmonfar:
notification without icon and longer lasting toast

Good app idea, the best one I found to help me keep an eye on drain rates for monitoring purposes. Good enough to pay for it.

About the notification icon on the status bar, there must be another way to keep the notification without the icon. I hate icons there that do not provide any useful information, taking out valuable space. But keeping the info on the notification area is a great way to have it where you can easily access it without having to open the app each time.

3G Watchdog, for example, does it. It shows a permanent notification on the ongoing area but without any icon on the status bar (see attachement: there are two notifications, Usage Timelines has icon, but 3G watchdog not).

I have found the following reference about one possible method: stackoverflow.com/questions/2855110/android-no-icon-for-notification

I don't know if this is how 3G watchdog does it, there could be other ways. But one way is enough, if it works...

Another separate suggestion would be to increase (or even better, make configurable) the time that the toast messages, if selected, are presented on the screen. The default is a little too short to assimilate the information.
[Android Apps and Games] walda:
Ok, mate.

We'll try to implement it next week :)

Let's see if it works...
[Android Apps and Games] bennybaz:
Hello walda and thank you for you app.

I bought it immediately and I have a small question.

are the default values are the recommended values?

I mean, I don't really know how to change the settings, such as "Display after".. what does the 50 min value mean? after 50 minutes what happens?

Thanks.
[Android Apps and Games] walda:
Thanks for your comment.

The default valued are the recommended.

After 30 minutes screen off, the meassurement starts. After the next 50 minutes a display doesn't make sense, so if there is a screen on, the calculated values are not displayed because of mostly too less drain in ex 20 minutes.

If you think different, you can change the values for your fittings.

... tapat*lked
[Android Apps and Games] bennybaz:
I tried it for the first time and the results are attached..

I can see that the drainage is about 1% per hour, while sleeping, but I'm not pleased with the results. I can see people with 1% per 4 hours.

how can I know what keeps my phone awake?

Thanks.
[Android Apps and Games] walda:
I think the values are OK but to check deeper i recommend BetterBatteryStats. Available for free on XDA.

There switch to "since unplugged" and "partial wakelocks". Then you see what keeps your device awake.

... tapat*lked
[Android Apps and Games] bennybaz:
I checked in BBS, nothing over 0.3% (AudioOut1, SyncLoopWakeLock..)

how come other people get much better results? cause of ICS maybe?
[Android Apps and Games] walda:
No experience with ICS because its not available for the Note yet. But it could be a reason. Compare with other guys with same device/Rom.

... tapat*lked
[Android Apps and Games] walda:
But as said, i think the values are quite good. I am at 1,3%/h and i am very happy with that. ^^

... tapat*lked
[Android Apps and Games] walda:
1.) We tried different sources/possibilities with transparent icons and so on. Didnt work on all devices, and has a completely different behaviour on ics. sometimes when you pull down the bar the icon has dissapeared.

2.) You cannot increase the delay of a toast. there are only 2 values you can set. long/short. we could repeat the notification in a short time, but i am afraid, it would flicker. another solution would be, to create a own style of toast, but as we found out, if it is not a standard android toast, the toast will not be displayed in front of some other apps. (phone.apk for example). so also :(

sorry mate, nice ideas but... maybe we will figure out something at another time...
[Android Apps and Games] bennybaz:
Ok, Thanks :)

Will update soon..

btw, the app itself does not drain at all..right?
[Android Apps and Games] bennybaz:
One thing bothering me..

Can you make an option for "Auto Start" after phone reboots?

Thanks
[Android Apps and Games] walda:
Autostart is implemented since 1st Version. Did you uncheck "Persistent" in Menu? Which Rom/Device are you useing?
[Android Apps and Games] bennybaz:
I'm using teamhacksung ICS Build 13, on my SGS. (Glitch Kernel).

I have "Service Permanent" checked.
[Android Apps and Games] walda:
Hmm, strange.

Anyone else with problems on ICS or boot?
[Android Apps and Games] walda:
Of course it does not drain!

Greetings

... tapat*lked
[Android Apps and Games] martinomac:
Yes, I have the same issue on onecosmics ics.

I have drain guard full version.
[Android Apps and Games] walda:
Please:

Turn on Debug Log in Settings

Reboot Device

Wait a few Minutes

Start Drainguard manually

Post the Log

Thanks, we will look into it.
[Android Apps and Games] walda:
Forget it.

Solved the problem. New version will be in market soon.

Edit:

Uploaded@Market
[Android Apps and Games] bennybaz:
Thank you very much walda, works perfectly now :)
[Android Apps and Games] martinomac:
Works on onecosmics ics as well now. Thanks!
[Android Apps and Games] perkhus:
very nice, thanks
[Android Apps and Games] mfractal:
Struggling with MT as @213 dpi on the Galaxy Note the provided configuration files are creating a widget that is too small to read. If I ever make it I'll post my configuration files here

Sent from my CM9 powered Galaxy Note