Throw object with accelerometer

I am trying to to make a script that that can throw bowling ball with the accelerometer. I am stuck on reading sensor part. I know how to read sensor using Input.accelerometer but I dont know how to make it work with this.

My goal is to press and hold the touch then swing up and release the touch. When the touch is released, the “strength” of the swing is what I need. It should be calculated from the accelerometer reading but I think I need to do some math to get it working.

Pressing and releasing part is already done. Please help.
Below is my current code.

bool canceled = false;
float swingStrenght = 0.0f;

foreach (Touch touchScreen in Input.touches) {
                        if ((touchScreen.phase == TouchPhase.Stationary) || (touchScreen.phase == TouchPhase.Moved && touchScreen.deltaPosition.magnitude < inValue)) {
                                clickInfo.text = "PRESSED, NOT MOVING";
                                canceled = false;
                        } else if (touchScreen.phase == TouchPhase.Ended && !canceled) {
                                clickInfo.text = "RELEASED, Threw Ball";
                        } else {
                                clickInfo.text = "MOVED, Canceled throw";
                                canceled = true;
                        }
}

Hi,

Accelerometer input works when you move your device around device axis.

When you swipe on screen your device dont moove, Input.acceleration will be a constant.

Im new then i link you a post that can help you :

I hope you will find your solution in that post, if not, dont search about accelerator input but swipe speed or strengh.

Not sure if this helps but could that variable typo be the culprit?

if this is in fact a mis-type, that is

line 2:
float swingStrenght = 0.0f;