[Android Q&A, Help & Troubleshooting] giovanni645:
This is what happens, in the latest apk, that has hotword detection on while charging. So it wakes up from sleep and goes straight into listening for a command.

Can we initialize the same process using tasker for the bluetooth button pressed?

I/HotwordRecognitionRnr(11016): Hotword detection finished
I/HotwordWorker(11016): #onHotwordDetected
I/MicrophoneInputStream(11016): mic_close eze@4280aa60
I/Sdch.Manager(11016): SDCH cache load complete.
I/MediaFocusControl( 748): AudioFocus requestAudioFocus() from android.media.
AudioManager@42685c10fzh@42687a08
V/KeyguardHostView( 914): hide transport, gen:160
I/AudioRouter(11016): ROUTE_NONE->ROUTE_BLUETOOTH_PREFERRED,CONNECTION_TYPE_NONE
->CONNECTION_TYPE_BVRA
D/BluetoothManagerService( 748): Message: 20
D/BluetoothManagerService( 748): Added callback: android.bluetooth.IBluetoothMa
nagerCallback$Stub$Proxy@426b7600:true
D/BluetoothManagerService( 748): Message: 30
V/Avrcp ( 2450): New genId = 160, clearing = 1
I/HotwordRecognitionRnr(11016): Stopping hotword detection.
I/ActivityManager( 748): START u0 {act=android.intent.action.MAIN flg=0x1401000
0 cmp=com.google.android.googlequicksearchbox/com.google.android.velvet.ui.Velve
tLockscreenActivity (has extras)} from pid 11016
D/dalvikvm(11016): GC_FOR_ALLOC freed 241K, 3% free 19086K/19644K, paused 10ms,
total 15ms
I/dalvikvm-heap(11016): Grow heap (frag case) to 18.973MB for 320016-byte alloca
tion
D/dalvikvm(11016): GC_FOR_ALLOC freed <1K, 3% free 19398K/19960K, paused 11ms, t
otal 11ms
I/MicrophoneInputStream(11016): mic_starting eze@427cee98
I/IcingCorporaProvider(11016): Updating corpora: APPS=NONE, CONTACTS=DELTA
D/dalvikvm(11016): Trying to load lib /data/app-lib/com.google.android.googlequi
cksearchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
D/BluetoothHeadset(11016): Proxy object connected
I/BluetoothController(11016): No BT device
D/audio_hw_primary( 185): out_set_parameters: enter: usecase(1: low-latency-pla
yback) kvpairs: routing=2
D/audio_hw_primary( 185): select_devices: out_snd_device(0: ) in_snd_device(35:
voice-rec-mic)
D/ ( 185): Failed to fetch the lookup information of the device 0000003E

E/ACDB-LOADER( 185): Error: ACDB AudProc vol returned = -19
I/OMXClient(11016): Using client-side OMX mux.
D/dalvikvm(11016): Added shared lib /data/app-lib/com.google.android.googlequick
searchbox-2/libgoogle_recognizer_jni_l.so 0x42622448
W/Search.SearchUrlHelper(11016): URL param or header written twice. Key: pws, ol
d value: "0" new value: "0"
W/Search.SearchUrlHelper(11016): java.lang.Throwable
W/Search.SearchUrlHelper(11016): at bmz.b(PG:2336)
W/Search.SearchUrlHelper(11016): at bmz.O(PG:2343)
W/Search.SearchUrlHelper(11016): at bmz.dy(PG:2553)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1152)
W/Search.SearchUrlHelper(11016): at bmy.a(PG:1010)
W/Search.SearchUrlHelper(11016): at gut.a(PG:37)
W/Search.SearchUrlHelper(11016): at gvc.kb(PG:82)
W/Search.SearchUrlHelper(11016): at gvd.asM(PG:38)
W/Search.SearchUrlHelper(11016): at fgj.call(PG:28)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.FutureTask.run(F
utureTask.java:237)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)

W/Search.SearchUrlHelper(11016): at java.util.concurrent.ScheduledThreadP
oolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or.runWorker(ThreadPoolExecutor.java:1112)
W/Search.SearchUrlHelper(11016): at java.util.concurrent.ThreadPoolExecut
or$Worker.run(ThreadPoolExecutor.java:587)
W/Search.SearchUrlHelper(11016): at java.lang.Thread.run(Thread.java:841)

W/Search.SearchUrlHelper(11016): at did.run(PG:46)
E/OMXMaster(11016): A component of name 'OMX.qcom.audio.decoder.aac' already exi
sts, ignoring this one.
D/dalvikvm(11016): GC_CONCURRENT freed 924K, 5% free 19334K/20292K, paused 3ms+4
ms, total 34ms
D/dalvikvm(11016): WAIT_FOR_CONCURRENT_GC blocked 21ms
I/Greco3EngineManager(11016): create_rm: m=GRAMMAR,l=en-US
D/dalvikvm( 1223): GC_CONCURRENT freed 906K, 9% free 19080K/20816K, paused 2ms+2
ms, total 25ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 19ms
D/dalvikvm( 1223): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 211K, 3% free 19842K/20292K, paused 12ms,
total 12ms
I/Greco3EngineManager(11016): Brought up new g3 instance :/system/usr/srec/en-US
/grammar.config for: en-USin: 29 ms
D/dalvikvm(11016): GC_FOR_ALLOC freed 17K, 3% free 20331K/20784K, paused 13ms, t
otal 13ms
D/ConnectivityService( 748): startUsingNetworkFeature reconnecting to 0: enable
SUPL
D/ConnectivityService( 748): startUsingNetworkFeature X: return APN_REQUEST_STA
RTED
E/LocSvc_eng( 748): W/AgpsReleasedState: unrecognized event 3
D/ConnectivityService( 748): stopUsingNetworkFeature: teardown net 0: enableSUP
L
D/MobileDataStateTracker( 748): supl: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=supl
D/MobileDataStateTracker( 748): supl: Received state=CONNECTING, old=DISCONNECT
ED, reason=dataEnabled
D/MobileDataStateTracker( 748): supl: setDetailed state, old =IDLE and new stat
e=CONNECTING
D/MobileDataStateTracker( 748): fota: Broadcast received: android.intent.action
.ANY_DATA_STATE apnType=fota
D/MobileDataStateTracker( 748): fota: Received state=DISCONNECTED, old=DISCONNE
CTED, reason=dataEnabled
D/MobileDataStateTracker( 748): dun: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=dun
D/MobileDataStateTracker( 748): dun: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): ia: Broadcast received: android.intent.action.A
NY_DATA_STATE apnType=ia
D/MobileDataStateTracker( 748): ia: Received state=DISCONNECTED, old=DISCONNECT
ED, reason=dataEnabled
D/dalvikvm(11016): GC_FOR_ALLOC freed 10K, 2% free 21193K/21492K, paused 14ms, t
otal 14ms
D/MobileDataStateTracker( 748): hipri: Broadcast received: android.intent.actio
n.ANY_DATA_STATE apnType=hipri
D/MobileDataStateTracker( 748): hipri: Received state=DISCONNECTED, old=DISCONN
ECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): ims: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=ims
D/MobileDataStateTracker( 748): ims: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): default: Broadcast received: android.intent.act
ion.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 748): default: Received state=DISCONNECTED, old=DISCO
NNECTED, reason=dataEnabled
D/MobileDataStateTracker( 748): mms: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 748): mms: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
D/MobileDataStateTracker( 748): cbs: Broadcast received: android.intent.action.
ANY_DATA_STATE apnType=cbs
D/dalvikvm( 1072): GC_CONCURRENT freed 494K, 4% free 18114K/18780K, paused 3ms+2
ms, total 27ms
D/MobileDataStateTracker( 748): cbs: Received state=DISCONNECTED, old=DISCONNEC
TED, reason=dataEnabled
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
W/GLSUser ( 1185): GoogleAccountDataService.getToken()
D/dalvikvm( 1057): GC_CONCURRENT freed 627K, 7% free 18877K/20284K, paused 1ms+4
ms, total 26ms
D/dalvikvm(11016): GC_CONCURRENT freed 151K, 2% free 22449K/22712K, paused 11ms+
5ms, total 31ms
I/Adreno-EGL(11016): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I04
04c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
D/dalvikvm( 1086): GC_CONCURRENT freed 384K, 3% free 16745K/17176K, paused 2ms+2
ms, total 16ms
D/PhoneStatusBar( 914): disable: < EXPAND icons alerts TICKER system_info back*
home* RECENT clock search >
D/OpenGLRenderer(11016): Enabling debug mode 0
W/IInputConnectionWrapper(11016): showStatusIcon on inactive InputConnection
I/ActivityManager( 748): Displayed com.google.android.googlequicksearchbox/com.
google.android.velvet.ui.VelvetLockscreenActivity: +608ms (total +611ms)
V/KeyguardServiceDelegate( 748): onScreenTurnedOn(showListener = com.android.in
ternal.policy.impl.PhoneWindowManager$17@4274ad08)
D/SurfaceFlinger( 182): Screen acquired, type=0 flinger=0xb7da5450
D/qdhwcomposer( 182): hwc_blank: Unblanking display: 0
I/PowerManagerService( 748): Waking up from sleep...
V/KeyguardServiceDelegate( 748): **** SHOWN CALLED ****
I/WindowManager( 748): No lock screen! windowToken=android.os.BinderProxy@437ec
838
D/dalvikvm( 748): GC_EXPLICIT freed 676K, 25% free 51379K/67720K, paused 3ms+11
ms, total 128ms
D/qdhwcomposer( 182): hwc_blank: Done unblanking display: 0
D/SurfaceControl( 748): Excessive delay in unblankDisplay() while turning scree
n on: 238ms
D/DisplayPowerController( 748): Unblocked screen on after 96822777 ms
I/ActivityManager( 748): Process com.google.android.calendar (pid 10121) has di
ed.
I/VelvetPresenter(11016): setupFromIntent(Intent { act=android.intent.action.MAI
N flg=0x14010000 cmp=com.google.android.googlequicksearchbox/com.google.android.
velvet.ui.VelvetLockscreenActivity (has extras) })
I/VelvetPresenter(11016): Resuming with current state.