Please help me get BT Near working - Android Q&A, Help & Troubleshooting

Hi all,
I want to use a beacon to run a task when I'm within range and out of range of the beacon.
To test I decided to make two simple tasks that just used the Flash Action to show whether the phone was within range of the ibeacon. The problem was I kept getting many false disconnects even when the phone was right next to the ibeacon. The thing is: it does not get lost by the phone, but only by Tasker. I tested that with the app "nRF Connect", which is able to display an "RSSI Graph", which is a time-oriented graph with the signal strengths from all received BT devices per second. It shows, that the phone receives the signal from the beacon constantly in a good signal strength.
Log is below.
So why is the phone seeing the beacon and Tasker is not?
Profile: Beacon Near
State: BT Near [ Name:* Address:FE:7E:B4:A9:CC:63 Major Device Class:Any Standard Devices:Off Low-Energy (LE) Devices:On Unpaired Devices:On Toggle BlueTooth:Off ]
Enter Task: Connected
A1: Variable Set [
Name: %Test
To: %PACTIVE
Max Rounding Digits: 3
Structure Output (JSON, etc): On ]
A2: Flash [
Text: Connected
Continue Task Immediately: On
Dismiss On Click: On ]
Exit Task: Disconnected
A1: Wait [
MS: 0
Seconds: 2
Minutes: 0
Hours: 0
Days: 0 ]
A2: Variable Set [
Name: %Test
To: %PACTIVE
Max Rounding Digits: 3
Structure Output (JSON, etc): On ]
A3: Flash [
Text: Disconnected
Continue Task Immediately: On
Dismiss On Click: On ]
Monitor Preferences:
BT Scan Seconds: 120
BT Minimum Timeout Seconds:15
All Checks Seconds:70
Timeout Seconds:60
Code:
20221020 07.57.18 M Restart ID0:0.0 Monitor
20221020 08.05.05 P Inactive ID26 Beacon Near
20221020 08.05.05 E Start ID0:0.0 TaskService
20221020 08.05.05 T Running ID28 Disconnected
20221020 08.05.08 A OK ID28.1 Disconnected.Wait
20221020 08.05.08 A OK ID28.2 Disconnected.Var Set, %Test=,AD On Off,
20221020 08.05.08 A OK ID28.3 Disconnected.Flash
20221020 08.05.08 T ExitOK ID28 Disconnected
20221020 08.05.08 E Stop ID0:0.0 TaskService

Related

Possible solution for SOD's

So after a week on cm7 i've decided to go back to my zckpa chinese rom. cm7 is not that stable for now, and most of its features i can get with zckpa rom. but the thing that still bugging stock/custom rom based on stock is sod. from my experience its caused by wifi, when the phone get out of known wifi range and it constantly scanning, it get sod. then i found this little app that solve my sod problem. u need to be rooted to try this btw.
1- edit build.prop file, add this line in it
Code:
wifi.supplicant_scan_interval=300
and save it. 300 means 5 minutes, but u can use other value eg 600 which is 10 minutes. by doing this we limit phone scanning wifi interval.
2- install wififixer from market. set it:
"set wifi usability" i use "max battery"
tick on "enable wifi lock"
"wifi sleep policy" to "never"
and i've never got sod for almost a week
btw i dont use android default wifi scanning, i just let wififixer do its job in the background. not just its solve my sods problem, it also gave me stable connection, no constant signal dropping for me now
an0nym0us_ said:
So after a week on cm7 i've decided to go back to my zckpa chinese rom. cm7 is not that stable for now, and most of its features i can get with zckpa rom. but the thing that still bugging stock/custom rom based on stock is sod. from my experience its caused by wifi, when the phone get out of known wifi range and it constantly scanning, it get sod. then i found this little app that solve my sod problem. u need to be rooted to try this btw.
1- edit build.prop file, add this line in it
Code:
wifi.supplicant_scan_interval=300
and save it. 300 means 5 minutes, but u can use other value eg 600 which is 10 minutes. by doing this we limit phone scanning wifi interval.
2- install wififixer from market. set it:
"set wifi usability" i use "max battery"
tick on "enable wifi lock"
"wifi sleep policy" to "never"
and i've never got sod for almost a week
btw i dont use android default wifi scanning, i just let wififixer do its job in the background. not just its solve my sods problem, it also gave me stable connection, no constant signal dropping for me now
Click to expand...
Click to collapse
im still trying to figure out why wifi scanning will cause sod.
well theres another file, /system/etc/firmware/wlan/qcom_cfg.ini which control wifi driver in stock rom. cm doesnt have this. its content is:
Code:
# This file allows user to override the factory
# defaults for the WLAN Driver
# Enable IMPS or not
gEnableImps=1
# Enable/Disable Idle Scan
gEnableIdleScan=0
# Increase sleep duration (seconds) during IMPS
gImpsModSleepTime=600
# Enable BMPS or not
gEnableBmps=1
# Enable suspend or not
# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
gEnableSuspend=3
# Phy Mode (auto, b, g, n, etc)
gDot11Mode=0
# Handoff Enable(1) Disable(0)
gEnableHandoff=0
# CSR Roaming Enable(1) Disable(0)
gRoamingTime=0
# STA MAC Address - This will be used until NV items are in place
# Each byte of MAC address is represented in Hex format as XX
NetworkAddress=000AF58989FF
# UAPSD service interval for VO,VI, BE, BK traffic
InfraUapsdVoSrvIntv=0
InfraUapsdViSrvIntv=0
InfraUapsdBeSrvIntv=0
InfraUapsdBkSrvIntv=0
# Disable RSSI FW filtering
gEnableFWRssiMonitoring=0
# Make 1x1 the default antenna configuration
gNumRxAnt=1
# Beacon filtering frequency (unit in beacon intervals)
gNthBeaconFilter=50
# Enable WAPI or not
WAPIIsEnabled=0
# Flags to filter Mcast abd Bcast RX packets.
# Value 0: No filtering, 1: Filter all Multicast.
# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
McastBcastFilter=0
gEnableLogp=1
#SoftAP Related Parameters
# AP MAC address
gAPMacAddr=00deadbeef11
# 802.11n Protection flag
gEnableApProt=1
#Enable/Disable UAPSD for SoftAP
gEnableApUapsd=1
# Fixed Rate
gFixedRate=0
# Maximum Tx power
gTxPowerCap=30
# Fragmentation Threshold
gFragmentationThreshold=2346
# RTS threshold
RTSThreshold=2347
# Intra-BSS forward
gDisableIntraBssFwd=0
# WMM mode: Auto(0) or QBSS(1) or No-QoS(2)
WmmIsEnabled=0
# 802.11d support
g11dSupportEnabled=1
# Country code
gAPCntryCode=USI
#Short Guard Interval Enable/disable
gShortGI20Mhz=1
#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
gAPAutoShutOff=0
#Enable OBSS protection
gEnableApOBSSProt=0
# Frames Processing Minimum Threshold
gMinFramesProcThres=0
# Listen Energy Detect Mode Configuration
# Valid values 0-128
# 128 means disable Energy Detect feature
# 0-9 are threshold code and 7 is recommended value from system if feature is to be enabled.
# 10-128 are reserved.
# The EDET threshold mapping is as follows in 3dB step:
# 0 = -60 dBm
# 1 = -63 dBm
# 2 = -66 dBm
# ...
# 7 = -81 dBm
# 8 = -84 dBm
# 9 = -87 dBm
# Note: Any of these settings are valid. Setting 0 would yield the highest power saving (in a noisy environment) at the cost of more range. The range impact is approximately #calculated as:
#
# Range Loss (dB) = EDET threshold level (dBm) + 97 dBm.
#
gEnablePhyAgcListenMode=128
END
# Note: Configuration parser would not read anything past the END marker
but i dont have any slight idea what those value means

Tasker profiles

I know this thread is repeated everywhere, but I thought I'd start it up for our GNote forums
What are your Tasker profiles? I just found out how to use Tasker yesterday and I find myself loving it.
Mine are as follows:
1) Incoming Calls - Decrease volume to second lowest setting (I have loud friends)
2) Turn wifi on at home automatically
3) Open PowerAmp when headphones are plugged in
4) Send a "Happy Birthday!" text to various people on their birthdays.
5) Alert me when battery is full to 100%. Really useful if you don't want to overcharge your battery.
What about you guys?
Mute at work locations
Pandora + Bluetooth in car
Wifi at home
100% Battery alert
Auto-off unpaired Bluetooth
Regulated auto-sync based on battery
Long-press search changed to notification drawer open
Screen timeout change for various apps
Data off and screen timeout change for ad-supported games
I posted a couple just recently in this thread...
http://forum.xda-developers.com/showpost.php?p=23151996&postcount=25
Here's a C&P for the lazy....
______________________________________________
Car Profile
Enter Task
1) Disable PIN Security so I don't need to unlock my phone while in the car (one less distraction)
2) Set Media Volume to 15
3) Turn Wifi off
4) Change Display timeout to 30 minutes (nice for google maps and viewing the album art of the streaming music)
5) Turn on GPS IF power is connected to phone
6) Start recording video with DailyRoads Voyager ( A car DVR program in case of an accident so you then have Objective evidence)
7) Play the THX sound after a couple seconds to make sure the Bluetooth audio streaming is working right
Car EXIT task
1) Stop Recording Video for DailyRoads Voyager (DRV)
2) Wait 5 seconds
3) Kill App - DRV
4) Perform Task - PIN ON
5) Secure Settings - Disable GPS
6) Display Timeout - 2 min
7) WiFi - Turn ON
8) Bluetooth - Off
9) Display Brightness - Set to 150 out of 255
Other fun stuff
Home VAR %STATUS_HOME
Set VAR for when I am near my home micro-cell as the signal radius is small and specific to my house. I use this since the phone part is always on and I don't need to use GPS to determine location which uses more juice. That VAR is then used to turn on wifi when I arrive at home, disable PIN again, Flash "Welcome home", set WiFi sleep to Never. The Exit task for when I leave home turns PIN ON and sets the WiFi sleep policy to Never While Plugged"
Power VAR %STATUS_POWER
I have 2 seperate profiles for when I am connected to AC or USB power. The AC one sets the power VAR to 2 while the USB one sets it to 1. Both are used for other tasks and profiles, like the car one above requires AC connection so my GPS doesn't drain my battery even while connected. I have it flash "AC connected" or "USB connected" to let me know if the phone is receiving the correct amount of juice. When both of them exit they set the Power VAR to 0 and flash "Power Disconnected"
Sleepy Time
Profile conditions
1) Time - From 00:01 to 06:30
2) State - Home VAR = 1 (so this doesn't happen when I am out and about somewhere at night)
Enter Task - In case I'm tinkering with the phone in bed and don't want to keep the wifey up with a blazing screen and vibrations when clicking buttons. Also prevents annoying sounds at night by disabling data sync and muting all but the Alarm audio.
1) AutoSync -OFF
2) Flash "Good night"
3) Display brightness at 0
4) Screen Filter set to 25%
5) Perform Task - Alarm Audio only
Alarm Audio only task above
1) Alarm Volume - 4
2) Flash "Alarm Audio Only"
3) Haptic Feedback - Off
4) Notification Volume - 0
5) Ringer volume - 0
6) System volume - 0
7) Media volume - 0
Exit Task
1) AutoSync - On
2) Display Brightness - 255
3) Screen Filter - 100%
Quick Stats - This has two parts. One is the Notification that tells me a bunch of info I like to know like Battery level, Screen timeout, screen brightness and CPU govenor. The second part is launching a menu whe nI click on the the notification that has the commonly used Screen brightness & timeouts I use. I need to add some audio options in there too. I re-discovered that menu was there the entire time and didn't see the + button add more items to the menu. Iwas over complicating it by trying to use Scenes as a pop-up menu. Still need to learn more about Scenes.
Part 1 - Quick Stats Notification
State - Orientation Face Up (I use this state so if I want to refresh the stats all I do put the phone face up. There is automatically a time stamp so I can know when the stats were last updated)
Task - Notify Quick Stats
1) Notify - with Battery level, Screen timeout, screen brightness and CPU govenor variables as the text.
Part 2 - Notification Bar Tool
Event - Notification Click
Task - Quick Stats Menu
1) Menu with options for display brightness at 0, 100 or 255. Display timeout options for 30 secs, 2 min, 10 min and 30 min
Remote PIN Disable - This is for in case I forget my pin this will disable the PIN likew used in the Car and Home profiles. It is triggered by receiving a text from certain people with a specific phrase.
Event - Text with specific phrase under Content
Task - PIN OFF
Where Are You - Here's a 3 part setup. If I can't find my phone I again send a text with a specific phrase that then cranks up all volume settings to MAX and repeat "The Most Annoying Sound in the world" by Jim Carrey from Dumb & Dumber. The text sets a VAR called %SHUTUP to 1. When %SHUTUP = 1 it triggers Part 2. Once I find the phone to set the VAR back to 0 I shake the phone.
Part 1 - Where Are You Status
Event - Received Text with specific phrase
Task - Variable Set - %SHUTUP = 1
Part 2 - Where Are You Status
State - Variable Value = 1
Task - Where Are You Audio
1) Perform Task - Crank It Up (sets all volumes to MAX)
2) Flash - "I'm over here!"
3) Music Play - Annoy.wav
4) Wait - 15 sec
5) Goto - Top of Loop IF %SHUTUP = 1
Part 3 -Shutup Shake
Event - Shake
Task
1) Variable Set - %SHUTUP = 0
2) Flash "SHUT UP!!!"
A couple more but they are straight from the Tasker Wiki
I'm definitely going to have to do those. Right now, all I understand is the basics of Tasker (no where near Variables) but I'll follow your instructions.
Thanks especially for "Where are you"
A few I use....
1). Pocket Lock - Detects when phone is upside down in my pocket and activates WidgetLocker.
2). Read Caller Aloud - Incoming caller name said aloud so I can decide whether I want to answer without looking at my phone.
3). Night Mode - From 00:00 to 06:00 Puts phone into silent mode, plus checks whether Wifi, Data, GPS, or Blutooth are on, and turns them off if they are.
4). Battery Low - When battery gets to 15%, and it's not connected to a charger, Says "Battery low, connect charger" and turns off Wifi, BT, Data, GPS.
5). Music Player - When headset is plugged in, loads music app.
6). Home - Gets general location from cell tower, activates Wifi, disables Data & GPS. Exit Task disables Wifi, and enables Data.
7). Work - Gets general location from cell tower, disables Wifi, Data, GPS, BT, and Auto Replies to sms that im working and will reply when i can.
I'm pretty new to tasker, but have been pretty bored lately and have been working on an addition to my Work profile.
This profile will, use variables to save up to 5 peoples numbers and how many times each has txted me, and txt each of them back, using their names from my contact list in the body of each txt.
So lets say BOB txts me once, his number will be added as a variable, and it will begin counting the txts from him. On the first txt he is send a txt saying, something like. "Sorry BOB, im at work, will reply when i can".
Then DAVE txts, he will be assigned to Sender2, and have a txt sent to him like above, with the second Counter and Number (%CNTR2 and %SNDR2).
BOB, realizing it's an auto-reply, decides to be funny and spam txt me, thinking he will get a reply every time. However, tasker counts his incoming txts, (%CNTR1) and when it reaches a value of 10, send just one more txt saying something like (Thats 10 txts you've sent, seems Im still unavailable).
Profile: Auto Reply
Variables:
%SNDR1 <---- BOBs cell number
%SNDR2 <---- DAVEs cell number
%SNDR3
%SNDR4
%SNDR5
%CNTR1 <---- BOBs txt counter
%CNTR2
%CNTR3
%CNTR4
%CNTR5
%TXTVAR <---- Counter determining whether a txt received is from someone new or a number already saved.
Enter Task:
Code:
1). GoTo label Sender1 if %SMSRF ~ %SNDR1
2). GoTo label Sender2 if %SMSRF ~ %SNDR2
3). " " etc.
4).......
5).....
6). If (%SNDR1 ~ 0) then SetVariable %SNDR1 to %SMSRF
7). If (%SNDR2 ~ 0) and (%TXTVAR = 1) then SetVariable %SNDR2 to %SMSRF
8). If (%SNDR3 ~ 0) and (%TXTVAR = 2) then SetVariable %SNDR3 to %SMSRF
9)........etc.
10).
11). If (%SMSRF ~ %SNDR1) <-------- Label Sender1
Variable Add (%CNTR1 + 1)
If (%CNTR1 = 1)
Send SMS (Tells this person eg. BOB I'm at work)
Variable Add (%TXTVAR + 1)
Else If (%CNTR1 = 10)
Send SMS to %SNDR1 (Thats 10 txts you've sent me)
Endif x2
12). If (%SMSRF ~ %SNDR2) <-------- Label Sender2
Variable Add (%CNTR2 + 1)
If (%CNTR2 = 1)
Send SMS (Tells this person eg. DAVE I'm at work)
Variable Add (%TXTVAR + 1)
Else If (%CNTR2 = 10)
Send SMS to %SNDR2 (Thats 10 txts you've sent me)
Endif x2
13). If (%SMSRF ~ %SNDR3) <-------- Label Sender3
Variable Add (%CNTR3 + 1)
If (%CNTR3 = 1)
Send SMS (Tells this person eg. EMILY I'm at work)
Variable Add (%TXTVAR + 1)
Else If (%CNTR3 = 10)
Send SMS to %SNDR3 (Thats 10 txts you've sent me)
Endif x2
14). ......Etc.
15). ......
I'm still working on it, deciding whether to have the variables reset as they are all filled, 1 at a time, or to make them reset every hour or so. Also whether to make another profile purely for resetting those variables, or add them to this task. Bearing in mind that on my phone it gets rather annoying to manage/edit the task since its currently at 78 lines long.
As I said I was bored.
If anyone is interested in this I can post a backup xml of this somewhere.
TriggerSpasm said:
BOB, realizing it's an auto-reply, decides to be funny and spam txt me, thinking he will get a reply every time. However, tasker counts his incoming txts, (%CNTR1) and when it reaches a value of 10, send just one more txt saying something like (Thats 10 txts you've sent, seems Im still unavailable).
[...]
As I said I was bored.
Click to expand...
Click to collapse
Bored indeed. Anywho, look into arrays in Tasker, that'll make this tracking stuff much easier. Track all of that stuff in one array vs a bunch of different ones. Might clean up the code a little, make it easier to erm.. relieve more boredom?
khaytsus said:
Bored indeed. Anywho, look into arrays in Tasker, that'll make this tracking stuff much easier. Track all of that stuff in one array vs a bunch of different ones. Might clean up the code a little, make it easier to erm.. relieve more boredom?
Click to expand...
Click to collapse
Thanks, I certainly will.
Using Tasker http://www.pocketables.com/forum//showthread.php?t=9680
Scripted Backups using Tasker and TWRP http://www.pocketables.com/forum//showthread.php?t=11435
Beginner’s guide to Tasker http://www.pocketables.com/tag/beginners-guide-to-tasker
Tasks to:
(1) Take photos and email them when a specific text message is received
(2) Lock and password protect the phone when a specific text message is received
(2) Use different keyboards depending on the open app or screen orientation

[SCRIPT] Howto automate toggle '2g only'

I really like having LTE on my nexus 7. It eats power though - over 2% per hour. It does this even when connected to wifi with mobile data off. It seems that disabling mobile data does not turn off the cell radio...
When in 2G only mode only about 0.5% per hour is consumed. You can switch this manually via settings but eventually you will forget and pay the price. With a bit of hacking you can make things better.
Here is a script manager script that can be called with llama or tasker to toggle the 2G only state.
#!/system/bin/sh
/system/bin/am start -W -a android.intent.action.MAIN -n com.android.phone/.MobileNetworkSettings
/system/bin/input tap 990 1070
/system/bin/input keyevent 4
/system/bin/sleep 2
exit 0
This is built to be run by script manager. To use it effectively you also need root (supersu) and the 'pro' version of script manager. You also need to install SMWidgets which lets llama/tasker easily start scripts. To use this on other devices you will have to figure out the coordinates for input as they will be different.
First add the script to script manager and set the 'su' flag.
Then in llama add events that do the following:
event
Toggle 2G
delay for 30 seconds and if still true
condition
screen rotated 0
screen off
llama variable 4g has a value of 1
connects to any WiFi network
actions
disable rotation
disable screen lock immediately
turn on screen at low brightness
run app shortcut called 'toggle 2g'
. select SMShortcuts, select 'add one script shortcut' and set the background flag when prompted
toggle llama variable 4g betwen 0 and 1
queue an event named '2g'
. wait 5 seconds
. condition
. llama variable 4g has a value of 0
. action
. enable screen lock (force)
. enable rotation
event
Toggle 4G
delay for 30 seconds and if still true
condition
screen rotated 0
screen off
llama variable 4g has a value of 0
dissconnects from any WiFi network
actions
disable rotation
disable screen lock immediately
turn on screen at low brightness
run app shortcut called 'toggle 2g'
. select SMShortcuts, select 'add one script shortcut' and set the background flag when prompted
toggle llama variable 4g betwen 0 and 1
queue an event named '2g'
. wait 5 seconds
. condition
. llama variable 4g has a value of 1
. action
. enable screen lock (force)
. enable rotation
make a test event to set the llama variable '4g' to 1
What the events do the following: verify that your screen is not in landscape mode, disable rotation, turn off lock screen, turn on the screen, run the script, (re)enable the lock screen & lock, (re)enable rotation.
And when wifi disconnects 4g quickly gets enabled, when you reconnect '2g only' is selected.
Have fun.
switching to Airplane mode then activating wifi will switch off NEXUS 's 7 LTE mobile data completely
xslavic said:
switching to Airplane mode then activating wifi will switch off NEXUS 's 7 LTE mobile data completely
Click to expand...
Click to collapse
Yes I realize that. I've had problems with wifi after using airplane mode.
Try this: switch to airplane mode, turn on wifi (it works), turn off airplane mode. Does your wifi work?
Some combo of turning on airplane mode, switching wifi on and off, and ending airplane mode with wifi off usually restores wifi.

[Fix]Screen doesn't wake on incoming call

*WARNING: Do not manually set your screen off frequency lower than 1Ghz. This will cause screen wake on call issues*
I get near instant screen wake on call with this and anyone is welcome to test it out.
Added the xml as an attachment that you can just extract and import directly into tasker!
Requirements are:
-Must be rooted
-Tasker app
I actually have a bit of a better more optimized profile now. Attachment XML incoming. What this actually does is allows you to set as low as you want screen off cpu frequency in the first part, and then when the phone rings it will boost the cpu to max set frequency, or anything you want to set it to manually above 1GHz will work.
First things first, download the attachment, then first import the 3 files ending in tsk.xml into tasker, they should show up in your tasks section, then import the one ending in prf.xml
Then you can set whatever frequencies you want for your screen off max freq in "display off cpu" task in tasker, this can be basically anything. Then you can open the "Wake_On_Ring" task and set that max freq to anything ABOVE 1000mhz. I have it default set at 1.9GHz and it works almost instantly for me on call. But it's up to you. After that, everything is good to go.
Here's what it looks like:
Profile: Display Off Wake On Ring (27)
State: Display State [ Is off ]
Enter: Display Off Ring Manager (52)
A1: Perform Task [ Name display Off Cpu Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop off ] If [ %PHONEWASRINGING eq OFF ]
A2: Perform Task [ Name:Wake On Ring Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop off ] If [ %PHONEWASRINGING eq ON ]
I've done something similar to this in the past, but curious.. Why did you decide you needed to turn auto brightness off, full, then auto back on? And did you test this in your pocket, so to speak, to make sure you weren't going to pocket-answer?
khaytsus said:
I've done something similar to this in the past, but curious.. Why did you decide you needed to turn auto brightness off, full, then auto back on? And did you test this in your pocket, so to speak, to make sure you weren't going to pocket-answer?
Click to expand...
Click to collapse
Just in testing, trying to basically brute force everything that can wake the device.
Still testing and tweaking as we type. I have a few more things to try to see if I can get a better result.
Ok I've updated and fixed the profile, now it's super simple and has no extra crazy options.
This should wake your screen no problems, every time.
Task is now completely reworked and updated.
demoncamber said:
Task is now completely reworked and updated.
Click to expand...
Click to collapse
I can´t import the profile. i can find it after clicking on import, but when i choose it, it says import failed. Any tipp?
Error: bad packed data format
/welp \°/
just reporting that D801 with latest KK doesn't have this issue.

Changing the vibration intensity + length on Huawei Watch?

Hi,
I tried the Advanced Settings app on my rooted Huawei Watch without success.
I managed to completely disable vibrations on my watch by doing "chmod 000 /sys/class/timed_output/vibrator/enable" in shell. But I would rather change the vibration intesity to be very low, and the vibration time to be very short.
However I cannot find where to change the values for this.
Looking at the vibrator folder in the watch (/sys/class/timed_output/vibrator), it contains the following folders:
enable,
power,
subsystem,
uevent
And enable is a file which I talked about, that would disable the vibration completely.
If I do "cat" on the files inside the folder "power" I get these results:
cat: autosuspend_delay_ms: I/O error
cat control auto
cat runtime_active_time 0
cat runtime_status unsupported
cat runtime_suspended_time 0
As the active time is already set to zero I don't know how to set the vibration length or the strength.
Anyone got an idea?

Categories

Resources