I found someone who asked about enable/disable internet connection and someone else who teaches how to build a notification. So i mixed them up and did this:
 public void sendNotification() {
    WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
    if (wifi.isWifiEnabled()) {
    } else {
        NotificationCompat.Builder mBuilder =
                new NotificationCompat.Builder(this)
                        .setSmallIcon(R.drawable.ic_notification)
                        .setContentTitle("TURN ON WIFI!!")
                        .setContentText("You should turn it back on!");
        NotificationManager mNotificationManager =
                (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
    }
}
But it isn't working =(
 
     
    