Updated

Boeing sent a 787 up on a test flight Saturday, the first since the new airliner was grounded three weeks ago because of a battery fire.

The aircraft took off from Boeing Field in Seattle and spent nearly two and a half hours flying back and forth over the inland Columbia Plateau. It landed at Boeing Field shortly before 3 p.m. PST. According to flight-tracking website FlightAware, the aircraft flew for 1,131 miles, slightly more than the 919 planned.

The Federal Aviation Administration granted permission for test flights on Thursday.

The 787 is the first commercial airliner to rely heavily on lithium-ion batteries, the same kind used in cellphones. Each plane has two of the 63-pound blue power bricks, one near the front to provide power to the cockpit if the engines stop, and one near the back to start up the auxiliary power unit, which is essentially a backup generator.

On Jan. 7, a battery on a plane that had recently landed in Boston short-circuited and caught fire. Nine days later, a battery on an All Nippon Airways plane started smoking, forcing an emergency landing in Japan. Boeing said Saturday's flight was to assess the in-flight performance of the batteries. Data would be used to support continuing investigations of the recent incidents.

Boeing Co. has billions of dollars tied up in research on the 787, and billions more dollars in 787s parked in Everett, Wash., and other sites that are waiting to be delivered.