> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/Braian551/viax/llms.txt
> Use this file to discover all available pages before exploring further.

# Availability Status

> Control your online/offline status and manage trip acceptance settings

## Overview

Your availability status determines whether you receive trip requests from passengers. Understanding how to manage your status effectively helps you maximize earnings while maintaining work-life balance.

## Status Types

<Tabs>
  <Tab title="Online">
    **Accepting Trip Requests**

    When online:

    * You appear in nearby driver searches
    * You receive trip request notifications
    * Your location is tracked and updated
    * You can accept trips from passengers

    <Info>
      Being online doesn't guarantee trips, but you must be online to receive requests.
    </Info>
  </Tab>

  <Tab title="Offline">
    **Not Accepting Trips**

    When offline:

    * No trip requests sent to you
    * Location tracking paused
    * Not visible to passengers
    * Can still view trip history and earnings

    <Note>
      Go offline when taking breaks, refueling, or when done driving for the day.
    </Note>
  </Tab>

  <Tab title="Busy">
    **Currently on a Trip**

    Automatically set when:

    * You accept a trip
    * Trip is in progress
    * Cannot receive new requests
    * Returns to online after trip completion

    This status is managed automatically by the system.
  </Tab>
</Tabs>

## Going Online

<Steps>
  <Step title="Open driver app">
    Launch the Viax driver app
  </Step>

  <Step title="Verify requirements">
    System checks:

    * Profile is complete and approved
    * Active vehicle selected
    * Documents are valid (not expired)
    * Location permissions enabled
    * Internet connection active
  </Step>

  <Step title="Tap 'Go Online'">
    Large button on home screen

    <Note>
      If button is disabled, check requirements above.
    </Note>
  </Step>

  <Step title="Confirm vehicle">
    If you have multiple vehicles, select which one you're using
  </Step>

  <Step title="Start receiving requests">
    You're now visible to passengers and will receive trip requests

    Your location is shared in real-time
  </Step>
</Steps>

## Going Offline

<Steps>
  <Step title="Complete active trips">
    Finish any ongoing trips first

    <Warning>
      You cannot go offline during an active trip.
    </Warning>
  </Step>

  <Step title="Tap 'Go Offline'">
    Button on home screen
  </Step>

  <Step title="Confirm">
    Confirm you want to stop receiving requests
  </Step>

  <Step title="Status updated">
    You're now offline and won't receive trip requests

    Location tracking stops
  </Step>
</Steps>

## Location Requirements

To go online, location services must be enabled:

### Android

1. **Settings** > **Location** > **On**
2. Grant Viax **Precise Location** permission
3. Enable **Location in Background**
4. Disable **Battery Optimization** for location accuracy

### iOS

1. **Settings** > **Privacy** > **Location Services** > **On**
2. Find Viax app
3. Select **Always** or **While Using**
4. Enable **Precise Location**

<Warning>
  Without location access, you cannot go online or accept trips.
</Warning>

## Auto-Offline Features

The system may automatically set you offline if:

<Accordion title="Extended Inactivity">
  * No trip accepted in 2 hours while online
  * Helps conserve battery and data
  * You'll receive notification before auto-offline
  * Can go back online anytime
</Accordion>

<Accordion title="Location Lost">
  * GPS signal lost for extended period
  * App loses internet connection
  * Automatically goes offline to prevent issues
  * Returns online when connection restored
</Accordion>

<Accordion title="Document Expiry">
  * SOAT or technical inspection expires
  * License expiration
  * Forced offline until documents renewed
  * Must update documents to go back online
</Accordion>

<Accordion title="Account Suspension">
  * Account suspended by admin
  * Low rating or policy violations
  * Cannot go online until resolved
  * Contact support for details
</Accordion>

## Strategic Timing

Maximize your earnings by going online at optimal times:

### Peak Hours

<CardGroup cols={2}>
  <Card title="Morning Rush" icon="sunrise">
    **6:00 AM - 9:00 AM**

    * High demand for work commutes
    * Potential surge pricing
    * More trip opportunities
  </Card>

  <Card title="Evening Rush" icon="sunset">
    **5:00 PM - 8:00 PM**

    * Return commutes
    * Dinner and social trips
    * Surge pricing common
  </Card>

  <Card title="Weekend Nights" icon="moon">
    **Friday & Saturday 8:00 PM - 2:00 AM**

    * Entertainment and nightlife
    * Higher fares
    * Longer trips
  </Card>

  <Card title="Lunch Time" icon="utensils">
    **12:00 PM - 2:00 PM**

    * Restaurant deliveries
    * Quick trips
    * Steady demand
  </Card>
</CardGroup>

## Location Positioning

Where you go online affects trip availability:

**High-demand areas:**

* City centers
* Shopping malls
* Office districts
* Transportation hubs (airports, bus terminals)
* Entertainment districts
* University campuses

**Strategy tips:**

* Position yourself near pickup hotspots
* Avoid being too far from populated areas
* Move to different zones during slow periods
* Learn patterns in your city

## Acceptance Settings

While online, configure trip acceptance preferences:

<Tabs>
  <Tab title="Auto-Accept">
    **Automatically Accept Requests**

    <Warning>
      This feature is not recommended for new drivers.
    </Warning>

    Pros:

    * Never miss a trip
    * Faster response time
    * Higher acceptance rate

    Cons:

    * Cannot review trip details first
    * May accept unfavorable trips
    * Less control over selections
  </Tab>

  <Tab title="Manual Accept">
    **Review Each Request** (Recommended)

    * See trip details before accepting
    * Check pickup distance
    * View estimated fare
    * See passenger rating
    * 30 seconds to decide

    <Info>
      Most drivers use manual mode to maintain control over which trips they accept.
    </Info>
  </Tab>
</Tabs>

## Online Time Tracking

Monitor your online hours:

```dart theme={null}
class DriverAvailability {
  DateTime? onlineSince;       // When you went online
  Duration totalOnlineToday;   // Total online time today
  Duration totalOnlineWeek;    // Weekly online time
  int tripsAcceptedToday;      // Trips accepted while online
}
```

<Note>
  Track your online hours vs trips completed to understand your efficiency.
</Note>

## Battery Management

Being online uses battery for:

* GPS tracking (high usage)
* Internet connection
* Screen on time
* Notifications

**Battery tips:**

* Use car charger while driving
* Lower screen brightness
* Close unnecessary apps
* Disable auto-brightness
* Use battery saver mode cautiously (may affect GPS)

## Data Usage

Online status uses mobile data:

* Location updates: \~5MB per hour
* Map loading: \~10MB per hour
* Trip navigation: \~15MB per trip
* Push notifications: Minimal

**Estimated:** 30-50MB per hour online

<Tip>
  Connect to WiFi when parked to conserve mobile data.
</Tip>

## Status Indicators

In the app:

| Indicator  | Status  | Action Required        |
| ---------- | ------- | ---------------------- |
| 🟢 Green   | Online  | Receiving requests     |
| 🔴 Red     | Offline | Not receiving requests |
| 🟡 Yellow  | Busy    | On active trip         |
| ⚠️ Warning | Issue   | Check error message    |

## Troubleshooting

<Accordion title="Cannot go online">
  **Check:**

  1. Profile approved?
  2. Documents valid?
  3. Vehicle selected?
  4. Location enabled?
  5. Internet connected?

  **Common fixes:**

  * Update expired documents
  * Select an approved vehicle
  * Enable location permissions
  * Check internet connection
</Accordion>

<Accordion title="Automatically going offline">
  **Causes:**

  * Inactivity timeout (2 hours)
  * Lost GPS signal
  * Lost internet connection
  * Battery optimization killing app

  **Solutions:**

  * Accept trips more frequently
  * Improve GPS signal (move outdoors)
  * Check internet connection
  * Disable battery optimization for Viax
</Accordion>

<Accordion title="Not receiving trip requests">
  Even when online:

  * Low demand in your area
  * Many drivers nearby
  * Your location not in high-demand zone
  * Notifications disabled

  **Try:**

  * Move to busier area
  * Wait for peak hours
  * Check notification settings
  * Restart app
</Accordion>

## Best Practices

<CardGroup cols={2}>
  <Card title="Go Online at Peak Times" icon="clock">
    Maximize earnings during high-demand periods
  </Card>

  <Card title="Stay in High-Demand Areas" icon="location-dot">
    Position yourself strategically
  </Card>

  <Card title="Maintain Good Signal" icon="signal">
    Keep strong GPS and internet connection
  </Card>

  <Card title="Charge Your Phone" icon="battery-full">
    Never run out of battery while online
  </Card>
</CardGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Accepting Rides" icon="check" href="/drivers/accepting-rides">
    Learn how to accept and manage trip requests
  </Card>

  <Card title="Notifications" icon="bell" href="/drivers/notifications">
    Configure notification settings
  </Card>

  <Card title="Earnings" icon="dollar-sign" href="/drivers/earnings-tracking">
    Track your income while online
  </Card>
</CardGroup>
