yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] wph:
I'm on CM7, latest nigthly (#8), and I also can't connect to WiFi when it is on channel 13. Where do I get that original bcm4329.ko? From a Sense kernel? Or from a Nexus One kernel?

edit: found some time to test it on my own, extracted and tried the bcm4329.ko from:

- Leedroid2.3d kernel > didn't work at all

- some vorkkernel from 11 jan 2011 > didn't work at all

- stock GRI40 build for Nexus One > didn't work at all

- devnull rom, thalamus kernel > didn't work at all

- latest couttstech 2.6.38 kernel > didn't work at all

What is obvious is that simply taking a bcm4329.ko from another kernel doesn't work (at least on the nightly I'm using). Or the other possibility, I'm doing something wrong. The last thing I tried was flashing the Couttstech 2.6.38 kernel and then the WiFi does work, but then I'm back at my starting piont, no Wifi Channels on channel 13.

So I'm pretty much out of options other than waiting for a fix for this ridiculous issue. I'm not blaming any devs here, just can't understand why such an error is in the AOSP. If anyone has a kernel or a working bcm4329.ko or any other solution, let me know please.
[Desire Android Development] bland.life:
Using the BFS version now.

All is working fine and smooth.
[Desire Android Development] Vaedryn:
Havs CM Kernel BFS

RoM Ginger Villian

Kernel is nice but camera is not working Oo
[Desire Android Development] vnvman:
73% battery left at the end of the day (wifi always on)...this kernel is truly amazing :D
[Desire Android Development] goz5000:
Hey benee is it possible to get a new cmda script for CM7? I'm going to start trying to make them as we cmda users lost our builder to the nexus s...... Thanks
[Desire Android Development] Calundle:
Any way to get this to work with CDMA? If not can someone direct me to a good CDMA kernel?
[Desire Android Development] Benee:
If you guys want a CDMA Kernel or compile the kernel on your own, then you need a linux destribution first.

Then get all the required packages. The Install development support packages section of the CM Wiki should work. Addditionally you need the lzma package. ( sudo apt-get install lzma )

Now we set up a toolchain

# If you have a aosp on your PC your fine, otherwise you have to get one
git clone git://android.git.kernel.org/platform/prebuilt.git

Then get the rom source:

git clone git://github.com/vork/vorkKernel.git
# or if this don't work for you
git clone https://github.com/vork/vorkKernel.git
cd vorkKernel

# Edit the compile script . We only need to change 2 lines in build
# Open it with a texteditor and point ARM_EABI to the location where
# you've downloaded the toolchain.
# For example
export ARM_EABI=~/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-

# and BUILD_DIR is the path to the folder where you can find your
# flashable kernel zips. I pointed mine to my Dropbox folder
export BUILD_DIR=~/Dropbox/Public

Finally configure the kernel and build it:

# because I'm a nice guy, I made a script for
compiling and to switch between CDMA/GSM
and 720p and stock cam ;)

. build

# and then choose what you want to build.

# Now wait a moment and your kernel is compiled! yay!
# And signed. You can find it in you BUILD_DIR folder.

and if you want to update the kernel then:

git add .
git reset --hard
# above will remove all changes you have done
git fetch origin
git merge origin

# Update. Because I'm using tags now, you need to
# checkout the newest tag, if you want the latest
# fixes. You can additionally revert to a old version.

# List all available tags.
git tag -l

# and checkout the new update
git checkout <version_name>

# example: git checkout 140411

I hope it is clear enough and you manage it to compile a kernel
[Desire Android Development] goz5000:
THANKS benee I'll give it a shot
[Desire Android Development] Benee:
Tell me if it worked or if I made a mistake. Hope I remembered every command right :D. Good luck
[Desire Android Development] goz5000:
everytime I try to get the vork file I get a fatal

root@ubuntu:~# git clone git://github.com/vork/vorkKernel.gitInitialized empty Git repository in /home/goz/vorkKernel/.git/

fatal: The remote end hung up unexpectedly

Am I doing something wrong?
[Desire Android Development] Benee:
git clone git://github.com/vork/vorkKernel.git

should be working. Maybe github has some issues right now. Try it later again.
[Desire Android Development] Calundle:
All of that is a little beyond my knowledge so, if anyone else gets it to work let me know or PM me! :)
[Desire Android Development] Benee:
Ok a update with fixed wifi channel 12/13/14, fixed camera for cm and smoother bfs kernel and maybe bfq v2 will be ready on sunday or monday..
[Desire Android Development] wph:
Great! Thanks!
[Desire Android Development] goz5000:
still having the same prob......I can pull cyanogen repos with no probs....:confused:
[Desire Android Development] psygbert:
try https

git clone https://github.com/vork/vorkKernel.git
[Desire Android Development] ididnt:
thanks

thank you for helping us
[Desire Android Development] JonasBom:
Will there be a SVS Version? If my device is under hard use, it gets hot and then it reboots. Same thing when i charge my device + easy Internet use ...it gets hot and reboot

...i think its the HAVS-Kernel...right?

Running CM7
[Desire Android Development] Large Hadron:
Well it depends on the voltage table, but generally speaking HAVS can run at lower voltage and so produces less heat. So I'd expect it to get hotter with SVS, and this has been my general experience.
[Desire Android Development] JonasBom:
Ok make sense...but what can i do? Lower down the OC?
[Desire Android Development] Large Hadron:
That should reduce the heat load, yes. What are you OC'd to?
[Desire Android Development] br13an:
How can i fix the camera on CM7- Nightly build 13? , because i would really like to see the 720p in action on an AOSP rom :)
[Desire Android Development] htrx:
:>

</10char>
[Desire Android Development] Benee:
Yep wait for next release ;) but I don't think I will finish it today. I shouldn't give a new eta ;). Need more sparetime
[Desire Android Development] Calundle:
So is there any possible way for someone to get this working on CDMA? I'm dying to use it, but I really don't know how to do it myself, even with the steps provided. >_> Prior to my CDMA Desire I had a CDMA Hero, which had tons and tons of support. It's really surprising to see the lack of CDMA Desire support. Doesn't even have it's own forum like the Hero. Why is this?
[Desire Android Development] ididnt:
720p

The camra isn't working at all as we know; this is what will be rectified. But I don't think beenee is bringing 720p to CM7 rom into the v2. Thanks for your efforts beenee.
[Desire Android Development] madman_cro:
Benee what is the latest kernel flashable to froyo?
[Desire Android Development] Benee:
;) All 35 Kernels
[Desire Android Development] m4a1rifle:
Anyone tried CM7 RC2 + the 28-Feb-11 release of Cyanogen version HAVS-CFS?
[Desire Android Development] Benee:
Working.. except cam. Wait for next release if you want everything working. I forgot to include something : /
[Desire Android Development] mondilv:
Nice work!

Is the git branch is still actual? & where is it, can't find.
[Desire Android Development] Benee:
Hi.

I have updated my kernel again. Now with BFQ v2, better BFS (but I think CFS is still better), fixed wifi and 2.6.37.3. Cam for CM roms is fixed too.

I added a compile script and updated the build instructions here. Now it is easier for you guys to compile a cdma kernel (or if you want to compile a specific GSM kernel). Please report if everything is working ;).

Here the first test kernels. It's a SVS with CFS. One version for CM and other roms with 720p and the other for oxygen.

Oxygen and CM.
[Desire Android Development] Benee:
Git. Yep this was the last .35 commit. After this I continued with 37
[Desire Android Development] dakore:
CM7RC2 - 2.6.37.3 works just fine (camera/camcoder). Tnx for the fix :)
[Desire Android Development] vnvman:
Nice update man, hitting 1800 on quadrant and 41+ on linpack here ;)
[Desire Android Development] m4a1rifle:
Thanks for the great update, you missed the first post update about this great news?:D

Camera is working, now the default governor is On Demand, performance is great (1411 in Quadrant, a new record high on stock clock!)
[Desire Android Development] mondilv:
Thanks a lot!

It is!
[Desire Android Development] Benee:
It's not a release... was to lazy to compile a few more versions :D Just a nice test/teaser

edit:

Btw I think I will drop the BFS version for now (even now CFS works better) and I think HAVS too. For me battery is better with SVS and the device don't get so hot. Don't know why but, yeah I think I can use this as a complete release version... hrm

edit 2:

Now the latest version is a release ;)
[Desire Android Development] m4a1rifle:
By any chance flashing your custom kernal (or any kernal) will cause this behavior:

Anyone face any bizarre ringtone/notification tone behavior with custom ringtone push into system/media/audio ?

it just changed itself... example i have set the ringtone & notification tones to my custom tones yesterday, today it just unassigned itself, when i look at the option in system settings, nothing is chosen.
[Desire Android Development] m4a1rifle:
Is the CM7 ROM same as the one you posted few post back? the filename does looks the same though... should I re-flash?
[Desire Android Development] Benee:
Exactly the same zips. ;)
[Desire Android Development] kibbsnk:
flashed over CM7 RC2 everything working like a dream no issues so far
[Desire Android Development] Minux31:
Just a little question : I compiled my own kernel HAVS-BFS@875mV with your git and script (but i didn't test the kernel yet), many thanks for this, it worked fine (just forgot to install lzma the first time, not shown as a dependency), but with no modification, is this kernel made for Oxygen or CM7 ?

Thx for reply and sorry for my english ;)
[Desire Android Development] Minux31:
self reply :p

It works perfectly on Oxygen 2.0.1 (camera included), so I suppose if I don't touch anything, it compil a kernel for Oxygen :D

And I compiled same kernel but CFS, and I confirm that it's better than BFS ;)

If anybody want to test :

- vorkKernel-2.6.37.3-HAVS-875-BFS-BFQ-SLQB-10-mars-11.zip

- vorkKernel-2.6.37.3-HAVS-875-CFS-BFQ-SLQB-10-mars-11.zip
[Desire Android Development] dakore:
I'm here to confim this statement :) Amazing! I have never experienced such a battery life. 90% of my time I was using HAVS kernels because I thought it's better for battery. Juice plotter is my witness!

edit:

Are you planning to add PM_FAST mode?
[Desire Android Development] expl0de:
This is damn good, definitely works better than stock cm7rc2 kernel. Thanks Benee.
[Desire Android Development] Benee:
Nice ;) Thanks, I will add lzma to the dependencys.

Yep. Next update with PM_FAST.
[Desire Android Development] Minux31:
Thx Benee :)

And could you precise in your doc that if

git clone git://github.com/vork/vorkKernel.git

doesn't work, this might work :

git clone [B]https[/B]://github.com/vork/vorkKernel.git

And last question : what are changes between classic kernel and 720p kernel ? Just if I want to compil a CM7 kernel ...

Thank you !
[Desire Android Development] Minux31:
I've compiled other versions with different voltages for people who have problems with HAVS@875mV (CFS only) :

- vorkKernel-2.6.37.3-HAVS-900-CFS-BFQ-SLQB-11-mars-11.zip

- vorkKernel-2.6.37.3-HAVS-925-CFS-BFQ-SLQB-11-mars-11.zip
[Desire Android Development] goz5000:
Thanks again Benee I got one compiled but the camera is broke I just get a black screen on camera and video, that seems to be the only thing broke at the moment.

I pulled 1552 in quadrant and it runs smoother than before.

Still checking for other bugs. Oh this is on nightly 15 I think.
[Desire Android Development] p5x:
installed the latest kernel onto oxygen 2.01 but I couldn't get wifi working (doesn't enable), tried flashing latest thalamus kernel but had the same problem so had to reflash oxygen to get it working again.

Any ideas on this?
[Desire Android Development] hawkeyexp:
Hi Benee,

since a longer time without playing on my device a came back to your kernel and startet to use your script und git to generate a kernel with your base.

at the monent im fighting with my system cause it gets errors on compile :-(

can you compile a version with activated usb-host till i have solved my problems and can try it on my mashine ?

[/URL] Uploaded with ImageShack.us[/IMG]
[Desire Android Development] Benee:
compile should work. Maybe the usb host thing doesn't applied cleanly. Please try without it ;)
[Desire Android Development] hawkeyexp:
no i doensn't use usb-host on the broken compile - its a problem of fedora 13 - it supports only armv5 this time :-( installing new vm-mashine with other distribution
[Desire Android Development] Benee:
Oh didn't saw the picture ;)
[Desire Android Development] hawkeyexp:
have you ever tried it with your kernel ?
[Desire Android Development] goz5000:
Hey benee did I miss something when I compiled, being the camera is broken????
[Desire Android Development] tufkal:
I can confirm that still today the original git:// is having problems, but the https:// clone is working fine.
[Desire Android Development] tufkal:
What would be the most conservative / most stock configuration, to get a kernel that can be used everyday on a AOSP build? SVS/CFS? I want to use your script to make a CDMA kernel to be used with a AOSP build, keeping things pretty standard and stable.
[Desire Android Development] Benee:
SVS/CFS is working nice for me.

And I will provide a script or a patch to switch between 720p cam or stock cam drivers. Don't know when it's ready. I think when I have the time to do something ;)
[Desire Android Development] Vaedryn:
Have the feeling the svs cfs have a nice battery time. Works all in all very nice with Ginger Villain
[Desire Android Development] p5x:
no one else experience broken wifi with oxygen?
[Desire Android Development] Minux31:
Quikly compiled a CDMA kernel for a member who wanted to try it : http://db.tt/RGo3d2H

SVS-CFS version
[Desire Android Development] enuazeal:
i had huge battery drain with 2.6.37.3 and wifi on oxygen 2.0.1

went back to 2.6.37.2R5 (battery is fine now)
[Desire Android Development] faddys123:
Which ones will be good for miui.?
[Desire Android Development] Benee:
Miui doesn't include 720p (don't know, but I think so). So flash the oxygen release.
[Desire Android Development] faddys123:
Is the battery good? Also Louis does include 720p
[Desire Android Development] Benee:
Try it ;)

10Char
[Desire Android Development] Minux31:
@Benee : If I want to compil an undervolt version of SVS, the only file I have to modify is arch/arm/mach-msm/acpuclock-qsd8x50.c, no ? Or another file(s) ?

Thx
[Desire Android Development] Benee:
yep. But you have to stick between 800mv and 1325mv. These are the regulator limits. SVS isn't so undervolt friendly like AVS, because AVS feeds more voltage to the CPU, if the device produces more heat. SVS would only reboot. 925 mv or 900mv (@128/245 Mhz) could results in reboots on some devices but I think most can handle it.

The table is in struct clkctl_acpu_speed acpu_freq_tbl[].
[Desire Android Development] Minux31:
Thank you very much, it confirm what I saw in files :)

Let's go now for modify, will try @900mV to begin and test on my device !
[Desire Android Development] Benee:
With next release I will add more voltage sets (for SVS - maybe a 925/950 - the 975 won't be used anymore) to the compile script. And a 720p/stock cam driver switcher. Maybe some other improvements ;).
[Desire Android Development] Minux31:
If someone want to test : vorkKernel-2.6.37.3-SVS@900mV-CFS-BFQ-SLQB-14-mars-11.zip

table I used :

struct clkctl_acpu_speed acpu_freq_tbl[] = {

{ 19200, CCTL(CLK_TCXO, 1), SRC_RAW, 0, 0, 900, 14000 },

{ 128000, CCTL(CLK_TCXO, 1), SRC_AXI, 0, 0, 900, 14000 },

{ 245000, CCTL(CLK_MODEM_PLL, 1), SRC_RAW, 0, 0, 900, 29000 },

/* Work arround for acpu resume hung, GPLL is turn off by arm9 */

/*{ 256000, CCTL(CLK_GLOBAL_PLL, 3), SRC_RAW, 0, 0, 900, 29000 },*/

{ 384000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0A, 0, 925, 58000 },

{ 422400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0B, 0, 950, 117000 },

{ 460800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0C, 0, 975, 117000 },

{ 499200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0D, 0, 1000, 117000 },

{ 537600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0E, 0, 1000, 117000 },

{ 576000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0F, 0, 1025, 117000 },

{ 614400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x10, 0, 1025, 117000 },

{ 652800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x11, 0, 1050, 117000 },

{ 691200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x12, 0, 1050, 117000 },

{ 729600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x13, 0, 1075, 117000 },

{ 768000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x14, 0, 1100, 128000 },

{ 806400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x15, 0, 1125, 128000 },

{ 844800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x16, 0, 1150, 128000 },

{ 883200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x17, 0, 1175, 128000 },

{ 921600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x18, 0, 1200, 128000 },

{ 960000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x19, 0, 1225, 128000 },

{ 998400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1A, 0, 1250, 128000 },

{ 1036800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1B, 0, 1275, 128000 },

{ 1075200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1C, 0, 1275, 128000 },

{ 1113600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1D, 0, 1300, 128000 },

{ 1152000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1E, 0, 1300, 128000 },

{ 0 },

};
[Desire Android Development] Minux31:
thx, it will be great :)
[Desire Android Development] Benee:
hehe yeah. I hope so ;)

Just one thing: when I'm updating I recommend, that you

git reset --hard

to delete all changes to the kernel, so the update can apply cleanly. Or you could git commit the changes, but then you need to learn how to fix conflicts ;).. I would recommend option 1 ;)
[Desire Android Development] Minux31:
Thank you

Thank you for all of this, I'm a beginner in Android, you helped me so much ;)

And as you recommended me, I'll follow option 1 to update :D
[Desire Android Development] Benee:
No problem. Maybe I add a update option to the script.
[Desire Android Development] Vaedryn:
Going to test it now :-)
[Desire Android Development] thesubliminaljuggalo:
This is awesome! Nice to find an actual CDMA compile. Too bad I can't stick with it because I need my camera! ):

Much appreciation for the CDMA love, though!
[Desire Android Development] Benee:
Update ;) some small updates to the kernel itself. You will notice a shorter boot time. But some bigger changes to the compile script.

You start it with . build now (I have updated the instructions too.). You will see the changes fast. Voltage options for SVS and CDMA/GSM and 720p and stock cam toggles ;)
[Desire Android Development] Minux31:
If someone tells me how to modify the kernel to be compatible with CM7/720p roms, I would be very happy to compile a version for those who wish ;)

Edit : Now I can, thx Benee :D
[Desire Android Development] Benee:
;) your wish come true. Just updated. update your kernel (how to in the instructions)
[Desire Android Development] Minux31:
Great ! :D

I just have a little problem, i'm not on my usual desktop, all the environment is ok but impossible to clone git :

git clone git://vork@github.com/vork/vorkKernel.git
Cloning into vorkKernel...
fatal: Unable to look up vork@github.com (port 9418) (Name or service not known)

and

git clone https://vork@github.com/vork/vorkKernel.git

ask me for a password :confused:
[Desire Android Development] ghmail2:
14.3 version broke the wifi on cm7 rc2.0...

always :(error
[Desire Android Development] Benee:
ohh fail :D https://github.com/vork/vorkKernel.git this the link
[Desire Android Development] Vaedryn:
Ähm, sorry , witch off this one is for Ginger Villain ?

Download: Stock Cam Drivers 720p

Left or right link ? :)
[Desire Android Development] Minux31:
Cool

Thx, it's better :D

Cloning, compiling will be the next step :)
[Desire Android Development] Benee:
I think 720p. Rule of thumb: if the cam doesn't work, flash the other zip ;)

The rest is easy. The build script is mighty ;)
[Desire Android Development] Minux31:
Compiled

Some compilations of last vorkKernel :

CDMA - 720p

- vorkKernel-2.6.37.3-CDMA-720p-HAVS-875-CFS-BFQ-SLQB-14-mars-11.zip

- vorkKernel-2.6.37.3-CDMA-720p-HAVS-900-CFS-BFQ-SLQB-14-mars-11.zip

- vorkKernel-2.6.37.3-CDMA-720p-HAVS-925-CFS-BFQ-SLQB-14-mars-11.zip

- vorkKernel-2.6.37.3-CDMA-720p-SVS-975-CFS-BFQ-SLQB-14-mars-11.zip

GSM - Stock Cam

- vorkKernel-2.6.37.3-HAVS-875-CFS-BFQ-SLQB-14-mars-11.zip

If you want another version of the kernel, ask me ;)

@Benee : when compiling SVS kernel, whatever option I choose, filename is always 975mV kernel (even if I compil with the 900mV option). Think it's just a question of filename, but I ask to be sure ;)
[Desire Android Development] Audioboxer:
Could you do SVS 875-900 for stock camera please? I'm running Oxygen and it doesn't support 720p.

Thanks :)
[Desire Android Development] remorema:
sorry for the noob question

what are the advatages of using this kernel over oxygen 2.0.1 stock kernel that is 2.6.37.2-thalamus-S-gfbb1325 ?

answer only if you have the time to, its not really a big deal. I just havent gone to the kernel changing path, and I'm trying to figure out if its worth it.
[Desire Android Development] Calundle:
Thank you a ton man!
[Desire Android Development] DjLukeW:
Hey guys quick question,

is anybody using these kernels on LeeDroid?

Im looking for 720p recording improvement and mine has always had a slight stutter when recording, no matter what lighting and settings. I have a class 6 card too so its not that.

any info would be appreciated :)
[Desire Android Development] thesubliminaljuggalo:
After flashing this kernel, I've seem to lost my USB functionality when the phone is booted up. I can still mount USB storage from Recovery, but my phone doesn't seem to recognize when it's plugged into the computer and no longer prompts me how I would like to connect to my PC (Charge Only/Mount SD). The USB debugging notification doesn't show up either.

It seems to charge just fine, though.

Any ideas? (:

Edit: I'm using MIUI 1.3.5 if it helps at all. Everything else is working fine that I've seen so far (Camera/Camcorder functionality resorted :D Thanks!)
[Desire Android Development] wiggles87:
This works great, any chance you could make a 720p version?
[Desire Android Development] bland.life:
The 900mV one seems to work well here, though I only had it on for 33min.

The 875mV one worked at first, the phone loads into Android but after a while the phone turned off and I can't turn it on at all.

Took out the battery and boot to recovery and flashed the 900mV build.
[Desire Android Development] Benee:
Hrm I should look into it.

Edit:

It should work. But I'm on work and so I'm not sure. I will go through the script today step by step

AOSP Kernel. LeeDroid is Sense. Many things won't work. And 720p won't record super smooth. The hardware can't handle it. This is why it isn't implemented ;)

Miui is a Froyo rom. Please read the first post. The new version are for Gingerbread roms only. I have some old 35 kernels. They are for Froyo.
[Desire Android Development] Minux31:
Here : vorkKernel-2.6.37.3-SVS-900-CFS-BFQ-SLQB-15-mars-11.zip

And there : vorkKernel-2.6.37.3-720p-SVS-900-CFS-BFQ-SLQB-15-mars-11.zip
[Desire Android Development] suiller:
fantastique!

est basée sur cette dernière version (14-mars) ?

merci beaucoup :D
[Desire Android Development] Minux31:
Yes, of course ;)

And you're welcome :D
[Desire Android Development] m4a1rifle:
how to actually check the real time voltage cpu is currently running? is it possible?
[Desire Android Development] suiller:
sure... from adb shell...

for havs:

cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs

or for svs:

cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
[Desire Android Development] Benee:
Setcpu can do this too. As a active widget with low refresh time for example (drains batt).