OAKLAND, Calif. -- Felix Hernandez felt he had nothing to work with in the bullpen. His night took a turn for the better once he started making pitches that counted.
"It was bad," the veteran right-hander said of his pregame warmup. "I think it was the worst."
A day after being eliminated from playoff contention, the slumping Mariners snapped Oakland's season-high seven-game winning streak and its eight-game run at home -- the team's second-longest in 11 years.
Seattle had lost eight of nine.
Hernandez (6-5) gave up one run in six innings of two-hit ball.
"It's baseball; it's like that," Hernandez said. "It's weird."
King Felix hadn't won since July 15, a stretch that included a stint on the disabled list from Aug. 2 to Sept. 13 with right shoulder bursitis. He was 0-2 with a 5.40 ERA in his previous five starts.
"He found his rhythm and he just executed and he made pitches tonight," Mariners manager Scott Servais said.
"He wasn't trying to strike people out tonight because he knew maybe he didn't have his top-notch stuff, but he executed at the bottom of the zone. It goes to show what kind of talent Felix really has."
Haniger hit his 15th and 16th home runs off starter Daniel Gossett (4-10). The 24-year-old Oakland rookie gave up seven runs and a career-high four homers.
Marcus Semien hit a solo homer off Hernandez in the sixth.
Andrew Albers pitched three shutout innings for his first save.
MAXWELL IN THE LINEUP
A's catcher Bruce Maxwell played his first game since becoming the first player in the majors to kneel during the national anthem Saturday, part of a national protest movement against discrimination and harsh treatment of blacks by police. He was greeted with a loud ovation along with some boos sprinkled in from the Oakland crowd of 9,329. Maxwell cleared the concussion protocol on Monday. He hadn't played since Sept. 20.
"It was unexpected, just because of the negativity that I've gotten, but it was refreshing," Maxwell said. "People actually care about people in this country, so it's a good thing."
SHOW OF SUPPORT
In an apparent show of support for Maxwell, most of the Oakland Unified School District band members took a knee as they performed the national anthem before the game.
The 31-year-old Hernandez became the fifth active pitcher to log more than 2,500 career innings -- all with one team. "It means a lot," Hernandez said. "I made a comment when I signed my contract here that I'm not going to disappoint anybody."
Mariners: INF Jean Segura (sprained right middle finger) will likely miss the remainder of the series, Servais said.
Athletics: Rookie 1B Matt Olson had an MRI and was diagnosed with a Grade 2 hamstring strain. The 23-year-old power hitter is doubtful for the rest of the season, manager Bob Melvin said. ... LHP Sean Manaea, who missed his last scheduled start on Saturday with upper back tightness, threw a bullpen and is on track to make his next start Thursday, Melvin said.
Mariners: LHP James Paxton (12-5, 3.03 ERA) is 0-2 with a 9.00 ERA in two starts since coming off the disabled list Sept. 14. He had been sidelined with a strained left pectoral muscle. Paxton is 3-0 with a 3.77 ERA in five career starts against Oakland.
Athletics: RHP Daniel Mengden (2-1, 3.30) is 2-0 with a 0.82 ERA in his last three starts. Mengden took the loss in his only career start against Seattle last season. He struck out six and gave up two runs on five hits and two walks in five innings.
More AP baseball coverage: https://apnews.com/tag/MLBbaseball
Examining surprising Hall calls for Harold Baines, Lee Smith
While Lee Smith is third on the all-time saves list, Harold Baines' Hall nod is a head-scratcher, considering that he never finished higher than ninth in MVP voting.
Harold Baines, Lee Smith elected to Baseball Hall of Fame
Chicago won the day in Las Vegas, as Harold Baines and Lee Smith were chosen for enshrinement in Cooperstown. The Hall of Fame's Today's Game Era Committee selected them at baseball's winter meetings.
Complete guide to baseball's winter meetings
Who's ready to bet big on Bryce Harper or Manny Machado? Which teams are looking to wheel and deal? We tell you what might go down in the desert.
Former Cubs, Red Sox hitting coach Chili Davis hired by Mets
Chili Davis has been hired as hitting coach of the New York Mets after spending last season in that role with the Chicago Cubs.
Olney: Carrasco's surprising extension changes Indians' plans
The Indians head to the winter meetings ready to shop a starting pitcher, but one veteran found a way to take himself off the block.
Mike Napoli, who made three trips to World Series, announces retirement
Veteran Mike Napoli announced Saturday that he is retiring from baseball, ending a 13-year career highlighted by three trips to the World Series.