signalbars

Syntax:

[int] sysinfo.signalbars;

Description:

This is a read-only property that returns an integer indicating the network signal strength.

The returned value is in the range of 0 to 7, where 0 represents no signal and 7 represents the maximum signal strength.

Example code:

// Retrieve the current signal strength
var signalStrength = sysinfo.signalbars;
if (signalStrength == 0)
alert("No network signal!");